This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
I have data like this:
what I would like to achieve:
user can select the start time and end time as they like , and the matrix gives the avg cycle time with carrier to vpc drill down.
I know it is crazy but that where I am . Is it possible?
Much apprciated.
Solved! Go to Solution.
I found a solution with selectedvalue function. share it here in case someone may need.
I found a solution with selectedvalue function. share it here in case someone may need.
Hi @Wendy100
You can consider to use field paramater, you can refer to the following sample.
Sample data
1.Create two paramater tables
Paramater 1
Paramater 2 is the sama as paramater 1
2.Create a measure
Measure =
VAR _start =
SWITCH (
MAX ( Parameter[Parameter Order] ),
0, MAX ( 'Table'[Deliver Date] ),
1, MAX ( 'Table'[Order Date] ),
2, MAX ( 'Table'[Pick Date] ),
3, MAX ( 'Table'[Ship Date] )
)
VAR _end =
SWITCH (
MAX ( 'Parameter 2'[Parameter Order] ),
0, MAX ( 'Table'[Deliver Date] ),
1, MAX ( 'Table'[Order Date] ),
2, MAX ( 'Table'[Pick Date] ),
3, MAX ( 'Table'[Ship Date] )
)
RETURN
DATEDIFF ( _start, _end, MINUTE )
Output
You can refer to the following link to know more about field paramater
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
thank you very much for your reply @Anonymous , but I am afraid there is gap to what I need. I down load the your shared file and change b to a, what I need is the avg instead of max.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 27 | |
| 25 | |
| 23 | |
| 19 | |
| 14 |
| User | Count |
|---|---|
| 53 | |
| 46 | |
| 19 | |
| 19 | |
| 18 |