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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Jmenas
Advocate III
Advocate III

Data Modeling issues - Bridge tables and relationships

Hi All, 

I have an issue regarding data modeling. I the issue with 4 tables relationships, 2 dimensions and 1 for facts.
My issue is that we have upgraded our budget table with new categories and the account type for each of these categories. That ruined our previous calculations and for budget vs sales comparison, namely because the brands can't be mapped without creating an extra column and messing up the other relationships. As you can see in the picture, the account table relates to the campaigns table and to the budget, the same for the region. But if I want brands creating a column that might not be filled in the budget table will ruin the relationships. 


My questions are:

  • Is there another way to create a model that fits our purpose? meaning, filter and calculate by brand, account type, and correct budget and sales.
  • Can I create a condition in DAX that allows me to dynamically pass one of the brands to the budget table? if so what other relationship should I create?

 

Data model

 

I know this subject is hard to explain, please let me know if you need further clarification.

 

Thanks,

Jorge

 

FYI @thschr 

1 REPLY 1
v-lili6-msft
Community Support
Community Support

hi, @Jmenas 

Sample data and expected output would help tremendously.
Please see this post regarding How to Get Your Question Answered Quickly:
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

If you could refer to create the data model as below:

https://community.powerbi.com/t5/Desktop/Cannot-create-multiples-column-relationship-between-two-tab...

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Europe Fabric Conference

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.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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