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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
baby_cabbage
Frequent Visitor

Measures Worked in Table 1 but Not in Table 2 ??

I'm having an issue with my [Days filter] in Power BI. It works fine in Table 1, but when I apply it as a visual filter in Table 2, it doesn't behave as expected.


The [Days filter] is supposed to return 1 when it matches the selected values in the [Items] and [Pages] slicers. I use it to control how many days are shown in my visual.

baby_cabbage_0-1740547536738.png

 

However, when [Days filter] is applied as a visual filter in Table 2, it suddenly stopped working!

baby_cabbage_1-1740547659103.png

 


In Table 2, if I remove the Date filter from the visual, the [Days filter] starts working correctly. The problem is that without the Date filter, the data doesn’t make sense anymore.

baby_cabbage_3-1740547721457.png

 

 

I'm not sure why this is happening. How can I get Table 2 to work properly while keeping the Date filter in place?

I've attached my Power BI file for reference. Any help would be greatly appreciated!


https://drive.google.com/file/d/1GVhtnsAN6302noBQWYTIqe53IXT5rZQ-/view?usp=sharing

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @baby_cabbage ,

 

Add the 'Days' field to the matrix row and the [Days Filter] measure filter works as expected.

vdengllimsft_0-1740643461579.png

 

You can also hide the +/- icons in front of the row headers to make it look as if there is only the 'Date' field in the row.

vdengllimsft_1-1740643668178.png

 

Please see the attached pbix for reference.

 

Best Regards,
Dengliang 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

4 REPLIES 4
Anonymous
Not applicable

Hi @baby_cabbage ,

 

Add the 'Days' field to the matrix row and the [Days Filter] measure filter works as expected.

vdengllimsft_0-1740643461579.png

 

You can also hide the +/- icons in front of the row headers to make it look as if there is only the 'Date' field in the row.

vdengllimsft_1-1740643668178.png

 

Please see the attached pbix for reference.

 

Best Regards,
Dengliang Li

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

I can’t believe it actually works! You’re a genius, Dengliang. How have you figured this out?? I was so close to giving up on this problem.

Thank you immensely! 

baby_cabbage_0-1740713041334.png

 

Anonymous
Not applicable

Hi @baby_cabbage ,

 

Please refer to this blog.

Applying a measure filter in Power BI - SQLBI

 

Best Regards,
Dengliang Li

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

Thank you ! I will read it through 

Cabbage_Baby_0-1740714615987.png

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.