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
Will_1
Helper I
Helper I

Data Model v Dax trade offs v other solutions

Thanks in advance for any advice or insights you can offer.

Context: 

Stores can sell one or more specialty products spread across two store stypes. If a consumer buys a speciality product the store type is speciality, but if a consumer buys a non-specialty product that same store type is categoryisn'

For example, 

Widget speciality needs to be categorized as specialty when a widget is sold, but that same store could also be a dongle specialty store and would need to categorized as Speciality when a dongle is sold. And that same store sells myriad other products and when those are sold it needs to be "non-specialty." Table bleow as example.

Any thoughts on the best way to handle this so slicers and filters for KPI comparison acorss segments can be used?

My first thought was to use multiple dimension tables based on "product" so I never need to mess with a many to many relationship. But then I think I'd lose the ease of filtering by "specialty" product, since store type would be in different dimension tables. correct? Then I thought to use DAX with filtering to create separate groups, but I think that might also cause a loss of filtering at the product level b/c different groups would need to be used. Is there a solution I am missing? 

Any other solutions or cautions? 

Store numberSpeicality productStore type GranularStoretype General
1dongleSpecialty Non-specialty
1widgetSpeicaltyNon-Specialty
1 Non-specialtyNon-Specialty
1 REPLY 1
Anonymous
Not applicable

Hi @Will_1 ,

What do you mean? Which column is your desired output? I cannot  understand your meaning correctly.

Could you please provide your pbix without privacy inforamtion and desired output.

 

How to Get Your Question Answered Quickly 

 

Best Regards

Community Support Team _ Polly

 

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

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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