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 nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I have a measure that counts number of projects missing value in a column. When no filters are applied in slicers all is well, but when I apply a slicer filter the count doesn't work. I've checked the interactions and they are not disabled.
The measue looks like this
Antal projekt saknar RE =
CALCULATE ( DISTINCTCOUNT ( ProjektLime[LimeID] ), ProjektLime[RE] = "" )
This gives me the same result
Antal projekt saknar RE =
CALCULATE ( DISTINCTCOUNT ( ProjektLime[LimeID] ), ISBLANK(ProjektLime[RE]) )
Applying this slicer setting RE to 1020 should give me the result 0 (or (Blank) ) in the corresponding card, but it says 234...
I really don't understand why, can anyone help me out, please?
Solved! Go to Solution.
@Anonymous , Try like
Antal projekt saknar RE =
CALCULATE ( DISTINCTCOUNT ( ProjektLime[LimeID] ), filter(ProjektLime, ISBLANK(ProjektLime[RE]) ))
CALCULATE with and without FILTER- https://youtu.be/KDcmzwgPvXQ
http://dataap.org/blog/2019/04/22/difference-between-calculate-with-and-without-filter-expression/
@Anonymous , Try like
Antal projekt saknar RE =
CALCULATE ( DISTINCTCOUNT ( ProjektLime[LimeID] ), filter(ProjektLime, ISBLANK(ProjektLime[RE]) ))
CALCULATE with and without FILTER- https://youtu.be/KDcmzwgPvXQ
http://dataap.org/blog/2019/04/22/difference-between-calculate-with-and-without-filter-expression/
Thank you for your prompt reply, that worked very well! I'll have a look at the video to understand why I need to do it that way, thanks again!
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 27 | |
| 26 | |
| 22 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 45 | |
| 42 | |
| 41 | |
| 21 | |
| 18 |