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
suneelkethagani
Frequent Visitor

Calculate no. of days between 2 Project Status's Dates

Hi All,

 

I have the Columns 

Project ID    Project Status     Status1Date   Status2Date Status3Date

in my model.

 

I need to find out,

The Project "Project1" starts on January 1, 2022 with Status "Start" and

then changed it's status to "In Progress" on April 30, 2022. So the status "Start" involved in Q1 (90 Days) and Q2 (30 Days).

I want to show total 120 Days in Q2 for the status "Start". Can you please tell me the DAX code?

 

Visualization: Line and Clustered Column Chart

X-Axis: Quarter

Column Y-Axis: No. of Unique Projects

Line Y-Axis: Total No. of Days (i.e., 120 Days)

 

 

Thanks in advance.....

1 REPLY 1
daXtreme
Solution Sage
Solution Sage

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.

Top Solution Authors