Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
I have a dataset (shorter version) with the following values:
The dataset is about Surveys where PID is assigned to one survey. Cycle time is a difference between 2 milestones expressed in days/weeks/months.
I'd like to create 3-3 slicers where I can change the measure and time span:
So basically, if I select Avg and Day, then on my Diagram, it'd show the Avg and the Day for each surveys, while the year is in the X axis, like this:
I tried with some DAX, but I'm not sure if this is the way.
So basically I have a Measure selector and a Time span selector, and the following code copied for both:
Is this how I'm supposed to do this so I can get the desired result?
Thank you for your help!
I think you can do this with a couple of fields parameters. Create separate measures for the average, min and max and add them to one fields parameter. Pick the different columns you want to use from your date table and add those to another fields parameter, and then put the 2 different fields parameters on the axes of your chart.
Thank you for your answer, but I still need a little help:
"Create separate measures for the average, min and max and add them to one fields parameter"
So if I create a measure for the average, minimum, maximum, should that be? (final is my table name):
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
19 | |
13 | |
7 | |
5 |