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
korkem
Regular Visitor

Handling twi fact tables

Hello! im kind of newbie in power bi, so question might be lil obvious.

I have two fact tables: Internet and Reseller. Both have almost same dimensions (geography, product) and sales, profit, cost etc columns.The only difference is that in internet sales made by customer with related dimcustomer table and reseller is same but with dimreseller.

 

To handle them i created bridge table, with column channel has two rows: internet and reseller. Plus added Channel column in fact tables with respective channel. And related them.

The sales measure is dax

Sum(FactInternet[Sales])+Sum(FactReseller[Sales]). It works when i change filtering in slicer between internet and reseller, but if choose customer from another visual, it shows sum of that customer sales+sum of from reseller.  What is better solution for handling this kind of multiple tables and how to write measures in this cases?

 

thanks in advance

2 REPLIES 2
FreemanZ
Super User
Super User

not an easy one. 

 

check this:https://www.youtube.com/watch?v=TnyRsO4NJPc

 

i already did. The schema is same, btw im using the same dataset as in video. But still cant get how to create measure for total sales.

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.