Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I have build up this formula to retrieve Running Totals for the amount of hotel chains signed in the past years:
Year | Month | Count of IdHotelChain | Running Total Hotel Chains Signed |
2022 | January | 1 | 1933 |
2022 | February | 1 | 1934 |
2022 | March | 1872 | |
2022 | April | 1872 | |
2022 | May | 4 | 1938 |
2022 | June | 4 | 1942 |
2022 | July | 1 | 1943 |
2022 | August | 1 | 1944 |
2022 | September | 1872 | |
2022 | October | 1872 | |
2022 | November | 1872 | |
2022 | December | 1872 | |
2021 | January | 3 | 1907 |
2021 | February | 6 | 1913 |
2021 | March | 4 | 1917 |
2021 | April | 4 | 1921 |
So that when data is BLANK, the running total is getting bacl to previous values, how can I avoid that?
Thanks
Hi, @Elofly
I simply simulated some data in the hope of restoring your problem, but it didn't work out.
Can you tell us more details about your source data?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
In the visualization and in the measure, please try using year column and month column from a dim-calendar table, instead of using those from the fact table.
Thanks.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |