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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
YouCanCallMeAl
Regular Visitor

Compare data from one table by multiple slicers

Dear Community,

I would like to compare data in a matrix visual that is present in one table by the use of multiple slicers.

 

The table is structured like

DomainVariantIDTagPrice-APrice-B
D2V2ID1T2123,3432423,1
D1V2ID4T1232,234324,33
D5V4ID4T223324,1324
D4V3ID5T12344553,9
D2V1ID2T345645,23345,55
...     

 

I would like to compare variants by slicers:

  • Slicer A -> (multi)select out of column "Variant"
  • Slicer B -> independent (multi)select out of same column "Variant"

 

Compare the scenarios in a shared matrix visual:

 

Rows: 

Domain

 + Variant
   + ID
     + Tag

 

Values (in columns) based on Slicer A:

  • Price-A
  • Price-B

Values (in columns) based on Slicer B:

  • Price-A
  • Price-B

Delta Values (Delta between the 2 sliced Values)

  • Price-A (Slicer A) minus Price A (Slicer B)
  • Price-B (Slicer A) minus Price B (Slicer B)

 

Goal is to filter the Variant based on the 2 slicers and to compare them.

 

Attached is the pbix example where I started to work with. The red x mark the visuals that do not work yet.

 

PBIX Download 

 

PBI-Question02.JPG

 

Would be glad if I can get some help.

5 REPLIES 5
lbendlin
Super User
Super User

What exactly are you trying to compare?  Is that something your users can do by themselves when you give them the power to use custom filters (and "personalize visuals") ?

Thanks for your feedback @lbendlin 

I just revised my post and added a sketch.

Yes, the user shall be able to set the slicers and the result is shown in one matrix visual. So that we are able to compare within the same structure.

The Prices shall be comparable wihin their category, so

  • Price A (based on Slicer A) compared to Price A (based on Slicer B)
  • Price B (based on Slicer A) compared to Price B (based on Slicer B)

Consider loading your table twice, and then use independent slicers.  Anything else will be hard to maintain.

Not sure if this helps. I added the PBIX to my original post. 

Hope this helps.

you stored your pbix on enterprisedna and linked it here. Interesting approach, not sure if they will like that?

Helpful resources

Announcements
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.