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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
WBscooby
Helper III
Helper III

Combining data from unrelated FACT tables or rework schema

Hi

 

I'm hoping for some modelling/ measure advice.

 

I have a schema that has 2 separate fact tables - FACToutcomes and FACTincidents.

FACToutcomes relates to tables outcome, customer and date
FACTincidents relates to tables incident, customer and date
Both of the tables also has a subtype column

Each of the tables relate to the same Customer and date dimension tables but not to each other.

 

To date, I have kept the tables as separate fact tables because outcomes has several other important dimension tables which have no relation to incidents and by combining, I found I was getting lots of null values in my FACT table.

 

However, for business reasons, there are occasions when outcomes and incidents need to be counted together to demonstrate total 'throughput'. This, for instance, would require displaying both the subtypes for outcomes and incidents on the same axis on a chart.

I am going round in circles trying to decide if it is better to keep my model as it is and try to create measures to demonstrate this or if I should rework my model.

 

I have created a measure to calculate the information I require, but can't work out how I then would create an axis to display this on. It's important that the result is dynamic so different date quarters can be selected using a slicer.

Any advice would be greatly appreciated!

 

My measure:

SUMX(
UNION(
SELECTCOLUMNS(
SUMMARIZE(
'FACTOutcomes',
'Outcome'[Type],
"OutcomeCount", COUNT('Outcome'[Outcome_ID])
),
"Outcome", [Type],
"OutcomeCount", [OutcomeCount]
),
SELECTCOLUMNS(
SUMMARIZE(
'FACTIncidents',
'Incidents'[Type],
"OutcomeCount", COUNT('Incidents'[Incident_ID])
),
"Outcome", 'Incidents'[Type],
"OutcomeCount", [OutcomeCount]
)
),
[OutcomeCount]

)

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@WBscooby , You need to have a common table Type

 

Power BI- DAX: When I asked you to create common tables: https://youtu.be/a2CrqCA9geM
https://medium.com/@amitchandak/power-bi-when-i-asked-you-to-create-common-tables-a-quick-dax-soluti...

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
WBscooby
Helper III
Helper III

Thank you,for a really helpful and clear explanation

amitchandak
Super User
Super User

@WBscooby , You need to have a common table Type

 

Power BI- DAX: When I asked you to create common tables: https://youtu.be/a2CrqCA9geM
https://medium.com/@amitchandak/power-bi-when-i-asked-you-to-create-common-tables-a-quick-dax-soluti...

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.