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
Zerpius
Regular Visitor

Managing Relationships

 

Hello,

 

I am rather new to concept of data modeling and Power BI and I ran into one problem.

I created two tables (Plan and Actuals), they are connected through dimTime table (date), and dimGrupe (groups of Products).

 

In Treemap chart I have following issue:

 

I added Products from fact table in detail selection. When I select

one product Table chart refreshes and shows Actual, Actuals LY for that product and selected period.

 

But that doesn't seem to work with Plan17 column. No matter what product I select it always shows

Group Plan value for selected period. Why it doesn't show Product Plan17 value for selected period?

 

Measure for Plan Column: Prodajna Plan17 = SUM(Plan2017[Plan2017])

 

dimPlan table has following columns: Product, Group, date, month, Year, Sales and Plan17 (calculated field)

All of those Columns are filtered from dimPodatci table (filtered 2016) and then Plan 17 is calculated by multiplying

Sales by product with growth rate. 

 

Thanks for help!

 

treemap.png

 

Selected Product.png

 

 

 

 

 

Report.png

 

ModelBI.png

1 ACCEPTED SOLUTION

Solved it!

I needed to create dimProducts table and then use Products from this dimension

in Treemap details. I originally used Products from Fact dimension, and that did not work!

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

You may need to change your cross-filtering directions on some of your relationships to achieve what you are going for. Not sure what else I can say without some sample data to try to recreate.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Solved it!

I needed to create dimProducts table and then use Products from this dimension

in Treemap details. I originally used Products from Fact dimension, and that did not work!

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.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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