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

card visual - query

Is there any way I can get the displayed data on the card visual? 

My problem is I have two card visuals. I cannot use a multi row card as the two cards are acted upon by different slicers (some don't interact with one visual). So, though the underlying data is the same, the visuals show data based on different criteria and hence cannot be on the same visual. 

I am trying to get the % difference between the displayed data in the two cards. Any help is appreciated

 

-Prasad

7 REPLIES 7
v-yuta-msft
Community Support
Community Support

@pvenkat ,

 

Could you please share some sample data and clarify more details about your requirement?

 

Regards,

Jimmy Tao

Here is a test data set for what I am trying to build with:

DateRoute TimeClean TimeClean Time - Route Time Inspection TimeInspect - Clean TimeVert SurfacesHoriz SurfacesFinal Scores 
3/16/20209:009:0119:1514111.0 
3/23/20209:009:05511:16131454.7 
3/30/20209:009:202010:0040131.8 
4/6/20209:008:50911:16146454.7 
4/13/20202:002:18182:4527121.3 
4/20/20202:002:40404:20100354.0 

Capture.PNG

@pvenkat ,

 

You should disable Slicer3 in the first card visual and disable Slicer2 and Slicer3 in the second card visual. For details, please refer to doc below:

https://docs.microsoft.com/en-us/power-bi/service-reports-visual-interactions

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Jimmy,

The edit interactive features of the slicers was already done. My challenge is to get the % of the data that is now shown in the card visuals. 

 

Regards,

Prasad

@pvenkat ,

 

Could you share the dax expression of S1 and S2 so I could do further analysis?

 

Regards,

Jimmy Tao

Greg_Deckler
Super User
Super User

Just create a measure that does the same aggregation as the Card visual. So if the card visual sums 'Table'[Column],

Measure = SUM('Table'[Column])

@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.