The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I've got a data table with a number of different products and metrics listed, and a card with calculations based on the data table. When no slicers are applied the calculations on the card are astronomical, but the data shouldn't be used as the metrics should never be looked at for the whole table. Is there a way for the card to calculate only when slicers are applied?
Solved! Go to Solution.
Hi @chris-d ,
You can add if condition like below:-
Measure = if(isfiltered(table[slicer_column]),{your calculation})
or
Measure = if(selectedvalue(table[slicer_column])<> blank(),{your calculation})
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @chris-d ,
You can add if condition like below:-
Measure = if(isfiltered(table[slicer_column]),{your calculation})
or
Measure = if(selectedvalue(table[slicer_column])<> blank(),{your calculation})
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
User | Count |
---|---|
69 | |
65 | |
63 | |
55 | |
28 |
User | Count |
---|---|
112 | |
81 | |
65 | |
48 | |
42 |