Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Chris1300
Helper II
Helper II

Unexpected behavior for Measure

Here is the PBIX file: https://drive.google.com/file/d/1J0i2NMmk-efpok0KYCmCRT5pSGaYsklT/view?usp=sharing

 

In the file I have a simple report. With the table showing all values and 3 filters on top which filter the 3 columns matching name. Also hava a card showing the measure value. I want a measure that will calculate the rows of Column1 independent of filter 2 and/or 3.

 

Curr measure = CALCULATE(COUNT('Table'[Col1]), REMOVEFILTERS('Table'[Filter3], 'Table'[Filter 2]))

 

Below are the different conditions I tried on the filters to see the measurements. 

 

Chris1300_0-1668811852326.png

 

I have 2 main questions:

1. For case 6 and 8, my curr measure does NOT match ideal. Why not? Why is this happening?

2. How can I modify my measure formula so I can get all the values in ideal measure column for all these test cases?

 

Thanks!

1 ACCEPTED SOLUTION
v-jianboli-msft
Community Support
Community Support

Hi @Chris1300 ,

 

Please try:

Turn off the interactions between the card visual and the slicers of filter 2,3:

vjianbolimsft_0-1669715127055.png

vjianbolimsft_1-1669715141384.png

Then you can get the result directly!

vjianbolimsft_2-1669715213610.png

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

View solution in original post

3 REPLIES 3
v-jianboli-msft
Community Support
Community Support

Hi @Chris1300 ,

 

Please try:

Turn off the interactions between the card visual and the slicers of filter 2,3:

vjianbolimsft_0-1669715127055.png

vjianbolimsft_1-1669715141384.png

Then you can get the result directly!

vjianbolimsft_2-1669715213610.png

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

FreemanZ
Community Champion
Community Champion

try this:

measure = 

CALCULATE(

     COUNT('Table'[Col1]),

     REMOVEFILTERS('Table'[Filter3]), 

     REMOVEFILTERS('Table'[Filter 2])

)

Nope. That does not work. Case 6 and 8 still dont work.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.