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
paolo_troia
Frequent Visitor

How to compare two dataset with different granularity?

Hi all,

 

hope you are well!

 

I am struggling to compare the two dataset Platform1 and Platform2. I would like to compare impressions and clicks of Platform1 and Platform2, however this is what happens:

 

paolo_troia_0-1635602859260.png

 

The data of Platform2 are no correct and I do not know how to fix it.

I made this data model but it is not working:

 

paolo_troia_1-1635603133901.png

 

This is a problem I need to solve beacuse I have many dataset of this kind.

You can find the dataset excel file and the pbix file on the link below:

https://drive.google.com/drive/folders/1-5E58YHIjmrmC6BAgJBrcKL3z2Lxj0CX?usp=sharing 

 

I hope you can help me

 

Many thanks

Paolo

 

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

You need to create dimension tables for fields common to both tables, As in:

model.JPG

 

You then use the dimension tbales in visuals, filters, measures, slicers...

result.JPG

 I've attached the sample PBIX file





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

3 REPLIES 3
rodrigosan
Resolver III
Resolver III

Hello Friend. I uploaded the proposed solution to your folder. I could check and return if it suits you.

PaulDBrown
Community Champion
Community Champion

You need to create dimension tables for fields common to both tables, As in:

model.JPG

 

You then use the dimension tbales in visuals, filters, measures, slicers...

result.JPG

 I've attached the sample PBIX file





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Thank you so much for your help! 🙂

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.

Top Solution Authors