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.
Hello,
I want to show a card which shows something like this:
Period 2021 - 01/01 - 12/31
Period 2022 - 01/01 - 11/30
Basically full year for last year but EOM last month for current year (that should be dynamic).
Nothing is getting selected on the slicer so I don't want to use selectedvalue.
I want it to be just like this (first line : full last year, second line: Starting from Jan 1 till EOM last month) . How should I approach this?
Thanks,
EZ
Solved! Go to Solution.
You can do something like this:
This year period = "Period " & year(today()) & " - 01/01 - " & month(EOMONTH(today(),-1)) & "/" & day(EOMONTH(today(),-1))
Last year period = "Period " & year(today())-1 & " - 01/01 - 12/31"
Create these two measures and add to a multi-row card or other suitable visuals.
You can do something like this:
This year period = "Period " & year(today()) & " - 01/01 - " & month(EOMONTH(today(),-1)) & "/" & day(EOMONTH(today(),-1))
Last year period = "Period " & year(today())-1 & " - 01/01 - 12/31"
Create these two measures and add to a multi-row card or other suitable visuals.
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 |
---|---|
110 | |
94 | |
80 | |
67 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |