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
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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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