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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Compare Product Measure to Target Measure, according to the Category

Hi,

 

Trying to design a model where I have on one hand a source data in excel list report:

 

Customer ID, Category, Product_a, Product_b, Product_c, Product_d,... and so forward up 50 products, 

1,  urban, 2, 1, 0, 1, 2, 1, 1, ...

2, rural, 0,0,0,0,1,1,

 

Then I have targets in another excel report where I have category for all 50 products looking like this:

Category, Product_a, Product_b, Product_c, Product_d,... and so forward up 50 products, 

urban, 1,1,1,1,1,1,1...

rural, 1,1,0,0,0,0,1...

 

What I am missing is, how do I connect all those 50 products to check what the target is for each of them for that category?

In order to calculate the realization (measure/target) for each product?

 

 

Thank you!

Mike

1 ACCEPTED SOLUTION
Sean
Community Champion
Community Champion

2 REPLIES 2
Sean
Community Champion
Community Champion

You need to Unpivot the data

See how to do it here

http://radacad.com/pivot-and-unpivot-with-power-bi

Anonymous
Not applicable

Thank you Sean!

This is what I was looking for!

BrM

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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