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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Need help modelling

Hi,

 

I have searched the other answers, but I'm still stuck/ don't see the big picture.

I know HOW to pivot, merge, append - but don't know WHEN/IF.

 

I have answers to survey questions from companies as well as answers from reports published by the companies itself - each once a year.

The answers have attributes (e.g. hierarchy-level) as well as the companies (size, type, reportA: xy, reportB: xy).

The companies will be sliced by name, singular-filters (type A or B) and multiple-filters ("is family-friendly" yes or no AND maybe (checkbox) "is great" yes or no)

 

2022-01-14 10_37_54-Fragen_ Lucidchart.jpg

 

Here's a Lucidchart of this picture: https://lucid.app/lucidchart/71e6ae51-a9bf-43dc-899c-e6f79be9a1a2/view?page=0_0&invitationId=inv_2d0...

 

I struggle with which table to pivot - and thus create long, narrow tables, with multiple company-keys - and which to leave or make short & broad, with a single company-key.

 

Do I need one fact table or two?

Do I create one dim table for each of the slicers, or one for each type of slicer: single-value-slicers (On/Off, Yes/no) and one for multi-value-slicers ("Family-friendly yes/no" and maybe! (Checkbox) "Great" yes/no")?

Size is about 40 companies, 350 questions.

 

Could you advise me how to model it "better"/which tables to make long&narrow and which to make short&broad

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

For performance reasons it is better that you reduce BD relationships.It is recommend that you activate bi-directional filtering in a measure definition by using the CROSSFILTER DAX function instead. Maybe you can consider using the bridge table as a slicer.

 


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

Anonymous
Not applicable

Edit: here's a new picture: 

2022-01-14 11_04_03-Fragen_ Lucidchart.jpg

 

sd = single direction, bd = multi direction

I realized the Slicers would be a problem.

In which table do I have to pack the attributes for a company-slicer?


Hi,

 

I have searched the other answers, but I'm still stuck/ don't see the big picture.

I know HOW to pivot, merge, append - but don't know WHEN/IF.

 

I have answers to survey questions from companies as well as answers from reports published by the companies itself - each once a year.

The answers have attributes (e.g. hierarchy-level) as well as the companies (size, type, reportA: xy, reportB: xy).

The companies will be sliced by name, singular-filters (type A or B) and multiple-filters ("is family-friendly" yes or no AND maybe (checkbox) "is great" yes or no)

 

2022-01-14 10_37_54-Fragen_ Lucidchart.jpg

 

Here's a Lucidchart of this picture: https://lucid.app/lucidchart/71e6ae51-a9bf-43dc-899c-e6f79be9a1a2/view?page=0_0&invitationId=inv_2d0...

 

I struggle with which table to pivot - and thus create long, narrow tables, with multiple company-keys - and which to leave or make short & broad, with a single company-key.

 

Do I need one fact table or two?

Do I create one dim table for each of the slicers, or one for each type of slicer: single-value-slicers (On/Off, Yes/no) and one for multi-value-slicers ("Family-friendly yes/no" and maybe! (Checkbox) "Great" yes/no")?

Size is about 40 companies, 350 questions.

 

Could you advise me how to model it "better"/which tables to make long&narrow and which to make short&broad


 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.