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

View all the Fabric Data Days sessions on demand. View schedule

Reply
aidenblake
Frequent Visitor

Calculate duration based on dropdown value

So I have following Table (example):

ProjectProcessCompletion Date
1A01.02.2022
1B07.02.2022
1C18.02.2022
1D15.03.2022
2A06.03.2022
2B20.03.2022
2C28.03.2022
2D05.04.2022
.........

 

Based on this table I want to create two dropdowns:

 

Process1 (=column Process)

Process2 (= column Process)

 

If the user now choose Process1 = A and Process2 = C the output should be the mean duration over all projects which it took for completion of Process A to Process C. The user should be able to choose between any process to see the duration. The real data consists of up to 50 processes per project and hundreds of projects.

 

How can I achieved this in Power BI?

 

1 REPLY 1
lbendlin
Super User
Super User

Use two disconnected tables with the Process values and feed these to the slicers. Write a measure that reads the slicer selections and calculates your desired result.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors