Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi,
I am trying sort by relativ date, whitin this week - but it takes sunday as first weekday - is there any settings where i can change it ? so it will take 9-11-2020 - 15-11-2020 ?
Solved! Go to Solution.
Hi, @Anonymous
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
You may create a measure as below. Today is 11/16/2020. You may remove '-1' to get the result for current week.
Visual Control =
var d = SELECTEDVALUE('Table'[Date])
var y = YEAR(d)
var wn = WEEKNUM(d,2)
return
IF(
y=YEAR(TODAY())&&wn=WEEKNUM(TODAY(),2)-1,
1,0
)
Then you need to put the measure in the visual level filter to display the result.
Best Regards
Allan
If this post helps,then consider Accepting it as the solution to help other members find it faster.
Hi, @Anonymous
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
You may create a measure as below. Today is 11/16/2020. You may remove '-1' to get the result for current week.
Visual Control =
var d = SELECTEDVALUE('Table'[Date])
var y = YEAR(d)
var wn = WEEKNUM(d,2)
return
IF(
y=YEAR(TODAY())&&wn=WEEKNUM(TODAY(),2)-1,
1,0
)
Then you need to put the measure in the visual level filter to display the result.
Best Regards
Allan
If this post helps,then consider Accepting it as the solution to help other members find it faster.
@Anonymous , Other than regional settings I doubt anything you can do to change this. Please log an idea or vote for an idea - https://ideas.powerbi.com/ideas/
User | Count |
---|---|
78 | |
75 | |
62 | |
60 | |
46 |
User | Count |
---|---|
109 | |
95 | |
86 | |
79 | |
61 |