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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Interaction between date slicer and a calculated table

Hello everyone!

 

I have some issue with filtering on date.

When i try to filter the calculations in the table do not change according to the chosen timframe and even disappear.

The calculations in the visualized table are bulit from 2 fact tables that both are connected to dim_date table as well.

KatyaK_0-1627305484497.png

 

KatyaK_1-1627305615892.png

KatyaK_2-1627305814932.png

 

Do you have any suggestion to solve this? 

Thanks

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

Hi, @Anonymous ;

I tested it, Since your Date type is Date type, and the  From DateTime and OD_create_datetime columns are date /Time type, they cannot be filtered by slicer. The following method is recommended.

1.delete the relationship

2.create a flag.

flag = IF(MAX([From DateTime])<MAX('slicer'[Date])&&MAX([From DateTime])>=MIN('slicer'[Date]),1,0)

3.apply it into filter.

vyalanwumsft_0-1627455467911.png

The final output is shown below:

vyalanwumsft_1-1627455502816.png

 

Best Regards,
Community Support Team_ Yalan Wu
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-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

I tested it, Since your Date type is Date type, and the  From DateTime and OD_create_datetime columns are date /Time type, they cannot be filtered by slicer. The following method is recommended.

1.delete the relationship

2.create a flag.

flag = IF(MAX([From DateTime])<MAX('slicer'[Date])&&MAX([From DateTime])>=MIN('slicer'[Date]),1,0)

3.apply it into filter.

vyalanwumsft_0-1627455467911.png

The final output is shown below:

vyalanwumsft_1-1627455502816.png

 

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi!

Thank you for your solution!!
Changing the format of the other 2 columns to date format made the filtering work even without creating the flag. 

But still thank you, I'll keep in mind all your solution (with the flag).

DataVitalizer
Solution Sage
Solution Sage

Hi @Anonymous ,

Could you please share a screenshot of dates values from the 3 related dates columns so I know undestand what is happening in your file. 

 

Did it work ? Mark it as a solution to help spreading knowledge.

A kudos would be appreciated

Anonymous
Not applicable

KatyaK_0-1627307146020.png

KatyaK_1-1627307182084.png

KatyaK_2-1627307362150.png

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors