Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello pbi community
I hope you can help me with this question.
Is there any possibility to take a dax measure into a visual filter? or how can I achieve this?
Thanks in advance
@fabianfilth you cannot directly use a DAX measure in a visual filter.
But you can achieve a similar result by creating a calculated column replicating the DAX measure's logic and then using that column as a visual filter.
By creating a calculated column, you effectively store the DAX measure's results in a new column in your data model, which can then be used as a filter in visuals.
Note:
Calculated columns use storage space and are pre-calculated during data refresh, so you should be cautious when using them, especially with large datasets.
Reference for more info:
https://www.sqlbi.com/articles/deep-dive-into-measure-filters-in-power-bi-desktop/
Please let me know if this works
Thanks
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
12 | |
10 | |
6 |