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
thanhnc1
New Member

SELECTED FIRST ROW TO SHOW

Hi!!!
I just want to display default the first row (top 1) in the table to cards instead of blank or min or sum cause in the table, I have sort the value by rank.
For instance: when enter to the sheet, the cards will show the first row of the table and the value of card will change whenever you click another row in table. I have used syntax: isfiltered, selectedvalue, firstnonblank but it work didnt like the way I want 😣.

  • My table

thanhnc1_0-1654420128009.png

  • Cards

thanhnc1_2-1654420220408.png

You can see it not display the value of first row in table, the default display of card that I want is:

thanhnc1_3-1654420389548.png

And it can change the value whenever I choose another row of table:

thanhnc1_4-1654420478356.png  

thanhnc1_5-1654420494842.png

Pls helpme. Thanks!!!

 

1 REPLY 1
jsaunders_zero9
Responsive Resident
Responsive Resident

Hi @thanhnc1 ,

You could contstruct the measures in the cards with HASONEVALUE, if the table has more than one selection then return only the FIRST result else return the selected value.

If you can mock up some sample data in a pbix I can show you what I mean.

Thank you

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.