cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Route217 Post Prodigy
Post Prodigy

power bi

Hi Using Power BI Most current Version

 

New to power bi learn DAX formula. How would you wright a DAX Formula to do the following..

Column A RAG Status

Column B Start Date

Column C End Date

Column D Duration B-C

 

so if the Rag in column A is Blue then return in a new column 100% other wise if the Rag in column A is either Red or Amber then (workout). Today's date less the start date column B / by the Duration in column D and express as a percentage.

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Top Solution Authors
Top Kudoed Authors