Forum Discussion
Calculated measure as a filter? (Energy meter validation)
- 6 years ago
Hi ragoe ,
Please try the DAX below and create the calculated column.
no.day = CALCULATE(COUNT('kwh 2018'[Dato]),ALLEXCEPT('kwh 2018','kwh 2018'[Dato]))Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Not clear. Typically when you have the filter in calculate, it should filter your data in the visualization
Can you share sample data and sample output.
Hi
I will try to clear up.
Sample:
My measure is
- AnkitBI6 years agoSolution Sage
Hi ragoe
If you meant Slicers then measures can't be used in Slicers. What you can try to do is a Calculated Column using 'COUNT('kwh 2018'[Dato])' and use in Slicer
Thanks
Ankit Jain
Do Mark it as solution if the response resolved your problem. Do Kudo the response if it seems good and helpful.- ragoe6 years agoFrequent Visitor
Hi AnkitBI
Yes of course, I mean slicer!
The problem is that if I do the calculated column I only get one option in the slicer? The total count of "Kwh".?
- V-lianl-msft6 years agoCommunity Support
Hi ragoe ,
Please try the DAX below and create the calculated column.
no.day = CALCULATE(COUNT('kwh 2018'[Dato]),ALLEXCEPT('kwh 2018','kwh 2018'[Dato]))Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.