This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi All,
How cam i filter a temporal table with a filter values:
For example:
I have this temporal table T_Temp and in screen i have a filter for Market (get values from Marketing table. Eg: EMEA, Americas, India, etc)
Solved! Go to Solution.
Thanks for the reply from lbendlin , please allow me to provide another insight:
Hi, @carrascojg
Based on your description, I suspect you might be testing the DAX you mentioned in a calculation table.
However, currently, there is no DAX that can capture slicer values in a calculation table or calculated column.
Below are the screenshots of the relevant answers:
For more details, please refer to:
Solved: Using Slicer values in a calculated column - Microsoft Fabric Community
Solved: Calculated column based on slicer value - Microsoft Fabric Community
Therefore, I suggest using the DAX you intend to use in a measure:
1.Here is my sample data:
2.This is my optimised test measure:
MEASURE =
VAR cc =
FILTER (
SUMMARIZE (
'Facility Cost',
'Facility Cost'[City],
'Facility Cost'[Market],
"Cost", SUM ( 'Facility Cost'[Facilities Costs] )
),
'Facility Cost'[City] <> BLANK ()
&& 'Facility Cost'[Market] IN VALUES ( Marketing[Market] )
)
RETURN
SUMX ( cc, [Cost] )
3.The final result is as follows:
Please find the attached pbix relevant to the case.
Of course, if you have any new discoveries or questions, please feel free to get in touch with us.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for the reply from lbendlin , please allow me to provide another insight:
Hi, @carrascojg
Based on your description, I suspect you might be testing the DAX you mentioned in a calculation table.
However, currently, there is no DAX that can capture slicer values in a calculation table or calculated column.
Below are the screenshots of the relevant answers:
For more details, please refer to:
Solved: Using Slicer values in a calculated column - Microsoft Fabric Community
Solved: Calculated column based on slicer value - Microsoft Fabric Community
Therefore, I suggest using the DAX you intend to use in a measure:
1.Here is my sample data:
2.This is my optimised test measure:
MEASURE =
VAR cc =
FILTER (
SUMMARIZE (
'Facility Cost',
'Facility Cost'[City],
'Facility Cost'[Market],
"Cost", SUM ( 'Facility Cost'[Facilities Costs] )
),
'Facility Cost'[City] <> BLANK ()
&& 'Facility Cost'[Market] IN VALUES ( Marketing[Market] )
)
RETURN
SUMX ( cc, [Cost] )
3.The final result is as follows:
Please find the attached pbix relevant to the case.
Of course, if you have any new discoveries or questions, please feel free to get in touch with us.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you Leroy, excelent workaround.
Read about SUMMARIZECOLUMNS and TREATAS. These are preferred over SUMMARIZE and FILTER.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |