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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Effimero89
Regular Visitor

Ignoring Date filters in a measure

Capture.PNG

Table 1 (left) is Filtered by "Invoice Date"

Table 2 (right) is Filtered by "Book Date"

 

I need the record count (a measure) of Table 2 to show up in Table 1 WITHOUT interfereing with the "Total Fare Currency" value of Table 1

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

Hi @Effimero89 ,

If you mean for the Invoice Date slicer, set the interaction to none in the Table2, and the same for Book Date.

vkalyjmsft_0-1661244758496.png

Then you want the Record Count in Table1 show the value same with in Table2. I don't think it's possible, because for Table1, it can use the REMOVEFILTERS function to remove the Invoice Date slicer, but as the Book Date slicer can't interactive with Table1, all columns or measures in Table1 "don't know" what is selected in the Book Date slicer, then it can't show the same value as Record Count in Table2 which is filtered by Book Date.

 

Best Regards,
Community Support Team _ kalyj

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
v-yanjiang-msft
Community Support
Community Support

Hi @Effimero89 ,

Is your problem solved? If so, would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirment will find the solution quickly and benefit here, thank you!

Best Regards,
Community Support Team _ kalyj

v-yanjiang-msft
Community Support
Community Support

Hi @Effimero89 ,

If you mean for the Invoice Date slicer, set the interaction to none in the Table2, and the same for Book Date.

vkalyjmsft_0-1661244758496.png

Then you want the Record Count in Table1 show the value same with in Table2. I don't think it's possible, because for Table1, it can use the REMOVEFILTERS function to remove the Invoice Date slicer, but as the Book Date slicer can't interactive with Table1, all columns or measures in Table1 "don't know" what is selected in the Book Date slicer, then it can't show the same value as Record Count in Table2 which is filtered by Book Date.

 

Best Regards,
Community Support Team _ kalyj

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

Jeanxyz
Impactful Individual
Impactful Individual

Not quite sure what you need. try something like this

 

Record Count(M)=calculate(countrows(table_records),all(Dim_Invoice Date), all(dim_fare currency))

tamerj1
Super User
Super User

Hi @Effimero89 
I think you should have a date table that have relationships connected to both date columns in your fact table. One of them will have to inactive. This way you can easily activate a deactivate any of these relationships whenever you want. However, it seems you are connecting eas table to only one of the two slicers which makes it almost impossible. The following has limited chances to work but you may try it

Record Count New =
IF (
    SELECTEDVALUE ( TableName[Country Name] = "Angula" ),
    CALCULATE (
        [Recors Count],
        REMOVEFILTERS ( TableName[Invoice Date] ),
        VALUES ( TableName[Book Date] )
    ),
    [Recors Count]
)

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors
Top Kudoed Authors