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
jaryszek
Memorable Member
Memorable Member

Different granularity fact tables - how to show on visuals?

Hello,

I have Fct_Costs_Daily and Fct_Cost_Monthly with shared Dim_Table. 

How to switch relationships in the visuals to show for example Daily costs on line chart or monthly or both? 
It will be dax involved with button to switch?

How to design it? 

Best,
Jacek

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

Hi jaryszek,

We appreciate your question on the Microsoft Fabric Community Forum.

Based on our understanding, we reproduced the scenario using a sample dataset with daily and monthly fact tables that share the same Date dimension. We created a shared Dim_Date table containing both Date and MonthStart, established relationships between the tables, and developed measures for Daily Cost and Monthly Cost. Additionally, we created two line charts and used bookmarks with buttons to toggle between the daily and monthly visuals.

Please find attached screenshots and a sample PBIX file that may assist in resolving the issue:
1. Upon Daily button click:

vpnarojumsft_0-1758606926678.png

2.Upon Monthly button click:

vpnarojumsft_1-1758607010314.png
We hope the information provided helps to address your concern. Should you have any further queries, please feel free to contact the Microsoft Fabric Community.

Thank you.

View solution in original post

2 REPLIES 2
jaryszek
Memorable Member
Memorable Member

thank you very much. 

v-pnaroju-msft
Community Support
Community Support

Hi jaryszek,

We appreciate your question on the Microsoft Fabric Community Forum.

Based on our understanding, we reproduced the scenario using a sample dataset with daily and monthly fact tables that share the same Date dimension. We created a shared Dim_Date table containing both Date and MonthStart, established relationships between the tables, and developed measures for Daily Cost and Monthly Cost. Additionally, we created two line charts and used bookmarks with buttons to toggle between the daily and monthly visuals.

Please find attached screenshots and a sample PBIX file that may assist in resolving the issue:
1. Upon Daily button click:

vpnarojumsft_0-1758606926678.png

2.Upon Monthly button click:

vpnarojumsft_1-1758607010314.png
We hope the information provided helps to address your concern. Should you have any further queries, please feel free to contact the Microsoft Fabric Community.

Thank you.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.