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! Request now

Reply
artjomsf
Frequent Visitor

How to make different Date Filters for different visuals on the same page?

I have Date-Table and several related tables with monthly data (e.g. - monthly sales in one, monthly expenses in the another, etc.). I want to be able to select one month in a filter and show the visuals with the relevant data on per month basis for selected month and two upcoming months, e.g.:

 

artjomsf_0-1640105159747.png

 

I select March on the right and have 3 different cards: March, April and May. I've currently done it with the Measures:

nextMonthValue1 = CALCULATE(SUM(table[Value]), NEXTMONTH(DateTable[Date])) // for the next month
nextMonthValue2 = CALCULATE(table[nextMonthValue1], NEXTMONTH(DateTable[Date])) // for the 2 months in future

 I could do measures for each value I need, but there are many of them and it does not look practical to have so many small measures. Is there a chance to get it working more smoothly?

 

Thanks! 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@artjomsf ,

Calculation Groups, so that you can do it with fewer measures

calculation groups
https://www.sqlbi.com/blog/marco/2020/07/15/creating-calculation-groups-in-power-bi-desktop/

 

also this need to be

nextMonthValue2 = CALCULATE(table[nextMonthValue1], NEXTMONTH(dateadd(DateTable[Date],1,month) )) 

 

 

The other way is the independent table when select one month and show more than that

refer

Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@artjomsf ,

Calculation Groups, so that you can do it with fewer measures

calculation groups
https://www.sqlbi.com/blog/marco/2020/07/15/creating-calculation-groups-in-power-bi-desktop/

 

also this need to be

nextMonthValue2 = CALCULATE(table[nextMonthValue1], NEXTMONTH(dateadd(DateTable[Date],1,month) )) 

 

 

The other way is the independent table when select one month and show more than that

refer

Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks! I am certainly check this out closely, the Independent Date Table sounds exactly what I am looking for. Cheers!

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