Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Have a graph that uses a Slicer (using between) and a measure to get each week per a column of the dates we reference.
If you move the slider to another month the weeks become out of order, even if you resort the axis it may not correct the issue.
MonthWeek column does not appear in Transform Data, unfortunately cannot share my pbix file as it is proprietary as it is FED data. Is there a way to rewrite my current column
@BratKat, changing your analysis to the week of the year would give you better results as week of month analysis is fundamentally flawed for comparable analysis.
If you are slicing by month & week, you will get strange and incomparable results in your visualizations. I would suggest not going about it this way. For example, if the first or last week of the month had anything other than 7 days in them (which they always do), then they would not be comparable to anything and would give misleading results.
Tried the first method (Click the MonthWeek column, then select sort by [Team Date 01] column) and recieved this message
Yes I added the measure to the tooltip for the graph
Hi @BratKat
Can you show me some sample data of the [Team Date 01] column? Because the two ways can work on my pbix file.
Best Regards!
Yolo Zhu
Example of column
Hi @BratKat
Please try to keep the ascending ranking of the [Team Date 01], then create a calculated column
e.g
Index = COUNTROWS(FILTER('Table',[Team Date 01]<=EARLIER('Table'[Team Date 01])))
Then modify the Tooltip measure.
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.
The MonthWeek item is a measure in my data so does not appear in looking at the data in Transform, tried you method but made it worse. Is there a way I can format the date to appear instead of for example. January Week 1 to appear as 1 Week January so I can sort numerically ? Thank you
Hi @BratKat
Modify the Tooltip measure.
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.
Its possible may be creating the graph wrong. Am using my MonthWeek measure in the Slicer but using the Team Date in the X-Axis. Could that be an issue ? I did try using the Team Date in the Slicer however then I did not have the option of using "between" in the Slicer.
Hi @BratKat
1.Click the MonthWeek column, then select sort by [Team Date 01] column
Then put the MonthWeek column to the visual
Output
2.You can create a measure
e.g
Tooltip=SUM('Work Items'[Team Date 01])
Then put it to the tooltips, and select "..." of the visual and select sort by "Tooltips" and "ascending"
Then, no matter how you filter the slicer, it can appear in increasing order.
Output
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.
Additional information:
The Team Date is from AzDo Work Items as the date of the task per item.
Thank you, I tried this however it didn't resolve -
Even if I change the sort method, still off.
Measure created =
Hi @BratKat
Did you put the measure to the tooltip, and you can try the first method I have offered, after testing, it can be work.
Best Regards!
Yolo Zhu
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
43 | |
26 | |
20 | |
14 | |
8 |
User | Count |
---|---|
75 | |
50 | |
47 | |
17 | |
17 |