Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello, I have a custom Calender where May is termed as BinderMonth1 and April is the 12th Month of the Binder Year. I need to create a variable to return previous month. But If the Month in Context is May then it should return April of Last year as Previous Month. How can i do that? The code in work is:
@Anonymous , You can use Rank for that. As long as you have a start date, you can create rank on that and use that to find this period vs last period
refer to the week example. same is true for any custom period
https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3
https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-Last-Week/ba-p/1051123
User | Count |
---|---|
59 | |
22 | |
18 | |
18 | |
16 |
User | Count |
---|---|
85 | |
54 | |
45 | |
39 | |
21 |