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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors
Top Kudoed Authors