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
Anonymous
Not applicable

Card value corresponding to slicer value

Hi everyone, 

peiying_2-1607958058623.png

Question: If my slicer values are the ticker, how do i make it such that if i click XXX in my slicer, i would get a corresponding score of 54.714 in my card? Thank you.

Also, does it work if i replace card with gauge?

 

 

1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

Hi  @Anonymous  ,

Here are the steps you can follow:

1. You can put the ticker and score columns directly into the table visual object, and then put the ticker column into the slicer to filter

v-yangliu-msft_0-1608080507866.jpeg

2. If you want to select a certain field of ticker, the corresponding value will be displayed. If there is no selection, the user-defined information will be displayed

You can write a DAX function and place it in the card:

Ticket_select =
var _select=SELECTEDVALUE('Table'[Ticker])
return
IF(_select=MAX('Table'[Ticker]),MAX('Table'[Score]),BLANK())

Result:

v-yangliu-msft_1-1608080507868.jpeg

You can downloaded PBIX file from here.

 

Best Regards,

Liu Yang

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

View solution in original post

2 REPLIES 2
v-yangliu-msft
Community Support
Community Support

Hi  @Anonymous  ,

Here are the steps you can follow:

1. You can put the ticker and score columns directly into the table visual object, and then put the ticker column into the slicer to filter

v-yangliu-msft_0-1608080507866.jpeg

2. If you want to select a certain field of ticker, the corresponding value will be displayed. If there is no selection, the user-defined information will be displayed

You can write a DAX function and place it in the card:

Ticket_select =
var _select=SELECTEDVALUE('Table'[Ticker])
return
IF(_select=MAX('Table'[Ticker]),MAX('Table'[Score]),BLANK())

Result:

v-yangliu-msft_1-1608080507868.jpeg

You can downloaded PBIX file from here.

 

Best Regards,

Liu Yang

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

amitchandak
Super User
Super User

@Anonymous , sum(Table[Score]) as measure should give that ?

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.