Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Dax Measure to identify completed milestones

Hi, 

I want to show a table with milestones.  The milestones that are 'Done' should be greyed out. Is there a way to do this with a Dax measure? The name of the column with the status info is 'Status Milestone 1'. Besides 'Done', there is the option to choose 'In progress' or 'New'.

 

Thanks for your recommendations! 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

In addition to Fowmy's reply, I will create a sample to help you achieve your goal.

RicoZhou_0-1651042406688.png

Measure:

Measure = IF(MAX('Table'[Milestones]) = "Done","Grey")

RicoZhou_1-1651042524764.png

Result is as below.

RicoZhou_2-1651042593019.png

I think Color-code based on text is a good way for your situation.

 

Best Regards,
Rico Zhou

 

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

4 REPLIES 4
Fowmy
Super User
Super User

@Anonymous 

Need more details along with your question. Have you tried the conditional formatting options?

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

Anonymous
Not applicable

Hi @Fowmy . Thanks for responding. In the meantime, I managed to create a new measure with DAX: 

Measure = CONTAINS('name table XYZ','name table XYZ'[Status Milestone 1], "done"). I now have a new column with False and True. Can I use this measure for conditional formating of the milestone name column? 
If 'True' then the 'milestone name' = light grey. Is this possible? 
Anonymous
Not applicable

Hi @Anonymous ,

 

In addition to Fowmy's reply, I will create a sample to help you achieve your goal.

RicoZhou_0-1651042406688.png

Measure:

Measure = IF(MAX('Table'[Milestones]) = "Done","Grey")

RicoZhou_1-1651042524764.png

Result is as below.

RicoZhou_2-1651042593019.png

I think Color-code based on text is a good way for your situation.

 

Best Regards,
Rico Zhou

 

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

 

@Anonymous 

Yes , it's possible, please refer to this guide: https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting


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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.