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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.