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
Mai_Nashaat
Helper II
Helper II

show only the minimum value in a table visual

Hi all,

 

I've a table like this, I  want to show customer name with the minimun days left only so for here it will show x = 4, y = 9 and  z = 5

it can be done using group by but I need to make it in the visual.

any help will be much appreciated. 

Mai_Nashaat_0-1642594668248.png

 

 

2 ACCEPTED SOLUTIONS
Fowmy
Super User
Super User

@Mai_Nashaat 


You can insert a Table Visual add Customer then you can create the following measure and add it.

MinDays = min( TABLE[days left] ) 

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

@Mai_Nashaat 

You should add it as a Measure, not as a Calculated Column

 

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

4 REPLIES 4
Fowmy
Super User
Super User

@Mai_Nashaat 


You can insert a Table Visual add Customer then you can create the following measure and add it.

MinDays = min( TABLE[days left] ) 

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

yes it's done, another question please I want to add column status that when the left days is less than 0 it write it's  status on hold I made it like if(MinDays <0,"onhold",MinDays)

but when I add it to the table with customer name it shows all the days left again not the minimun only.

how can I do it?

@Mai_Nashaat 

You should add it as a Measure, not as a Calculated Column

 

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

yes thank you very much 🙂

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.