Intermediate Data Modeling in Power BI
Sara Billen
Curriculum Manager at DataCamp
Where things can go wrong:
$$
Build custom columns with:
Calculated columns | Computed columns |
---|---|
DAX | Power Query (M) |
Fast for simple calculations | Fast for simple calculations |
Slow for complex calculations | Fast for complex calculations |
Generated per visual at runtime | Generated once at import time |
1) Create a filter measure in DAX:
Slicer_MyFactTable = INT(NOT ISEMPTY('My Fact Table'))
$$
2) Add a visual filter to the slicer and set where Slicer_MyFactTable = 1
$$
Intermediate Data Modeling in Power BI