Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Designing a dashboard for a college. Their academic years span two calendar years.
Eg:
I would like to create a set of measures where I only have to update the measure for the most recent year. For example:
Then have a measure that reads that string in [Last Year] and creates academic year -1 automatically. For example:
Essentially preventing the need to up date all the measures for each year. I hope this makes sense.
Solved! Go to Solution.
Hi @cwfmoore
Try this measure:
Last year (minus 1) =
Var _Year1 = left([Last Year],4)-1
Var _Year2 = Right([Last Year],2)-1
return
_Year1&"-"&_Year2
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Hi @cwfmoore
Try this measure:
Last year (minus 1) =
Var _Year1 = left([Last Year],4)-1
Var _Year2 = Right([Last Year],2)-1
return
_Year1&"-"&_Year2
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Perfect, thank you!
User | Count |
---|---|
54 | |
22 | |
19 | |
16 | |
11 |
User | Count |
---|---|
82 | |
55 | |
39 | |
20 | |
12 |