Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
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
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
33 | |
16 | |
13 | |
10 | |
8 |
User | Count |
---|---|
58 | |
19 | |
12 | |
11 | |
10 |