The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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 | |
13 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
19 | |
12 | |
9 | |
7 |