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
bo_afk
Post Patron
Post Patron

Visual based on values of other visuals with filters

I have two charts on a page and each relate to separate filters. The aim was to be able to select any two dates (in the filter) and see side-by-side how the figures compare for each of these dates .

 

I now want to add another visual which shows the difference between these two charts.

 

E.g. I've filtered one chart for 5th Jan 2019 and it shows 150. 

I've filtered the other chart for 6th Jan 2019 and it shows 175.
I'd like a third visual to then show a difference of 25.

 

Is this possible?

1 ACCEPTED SOLUTION

HI @bo_afk ,

Dax formula can to get different value from these slicers, but these values can only used in its row contents, when you try to compare them, they will get same values of one slicer.

Please create a slicer with unrelated new data source fields, then you can write formula to extract selected value from different source of slicers.
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

4 REPLIES 4
v-shex-msft
Community Support
Community Support

Hi @bo_afk 

How did you filter on these visuals? Can you please provide more detail information to help us clarify this?
If these filters on based on same datasource filed, it is impossible to extract different selection from slicers.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hi @v-shex-msft ,

The visuals are filtered by slicers and from the same datasource. I used the 'Edit interactions' function to disable the slicers filtering the other visual.

So each slicer only affects the selection on one visual and not the other.

HI @bo_afk ,

Dax formula can to get different value from these slicers, but these values can only used in its row contents, when you try to compare them, they will get same values of one slicer.

Please create a slicer with unrelated new data source fields, then you can write formula to extract selected value from different source of slicers.
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hi @v-shex-msft 

 

Thanks for your response.

 

Yes, this is what I ended up doing. I made a direct copy of the dataset and then created a measure based on these two separate datasets and it worked fine.

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.