cancel
Showing results for
Did you mean:

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Helper II

## 2 Fact table - How to sum the values in to

i have 2 fact table in my model , which is connected to date table and a Dim table(Driver).

Is there any way the model consider 2 fact table as one and get the total values of LC amount column from both table without sum both individual measures.

Total PE & SO = SUM('PE & SO'[ LC amnt])
Total BDA = SUM(BDA[ Amount LC])
Total = [Total BDA] + [Total PE & SO]

regards,

Ansar.

2 ACCEPTED SOLUTIONS
Helper II

Thanks @SpartaBI , let me know my understand is clear from your reply

1. both fact table is not having similar structure only few fields are common (Date, Driver, Agreement #) so append in power query is also not a good option

2. combine both measure in to one dax formula is the solution suggested, then we can slice n dice based on dim table relation ship.

Community Champion

@ansar yes 🙂
You can also just put everthing in one measure, in case you don't use the other two for anything else excpet for the final one. It's the same, just fewer measures in the pane on the right. No impact on result or performance.

Total = SUM(BDA[ Amount LC]) + SUM('PE & SO'[ LC amnt])

Showcase Report – Contoso By SpartaBI

3 REPLIES 3
Community Champion

@ansar no 🙂
If these two tables are the same structure and only diffrentiate by one column you can union them in Power Query or in DAX and have a column that will have 2 values: BDA and PE & SO. Then you could just create one measure and slice and dice by filters on that column etc.

Showcase Report – Contoso By SpartaBI

Helper II

Thanks @SpartaBI , let me know my understand is clear from your reply

1. both fact table is not having similar structure only few fields are common (Date, Driver, Agreement #) so append in power query is also not a good option

2. combine both measure in to one dax formula is the solution suggested, then we can slice n dice based on dim table relation ship.

Community Champion

@ansar yes 🙂
You can also just put everthing in one measure, in case you don't use the other two for anything else excpet for the final one. It's the same, just fewer measures in the pane on the right. No impact on result or performance.

Total = SUM(BDA[ Amount LC]) + SUM('PE & SO'[ LC amnt])

Showcase Report – Contoso By SpartaBI

Announcements

#### New forum boards available in Real-Time Intelligence.

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

#### Power BI Monthly Update - May 2024

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

#### Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors