Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I'm running into an issue where I cannot figure out how to get consecutive months to increase in number based on a criteria in a visual. For instance in the screen shot below Mar 20 and Apr 20 are two consecutive months where a criteria was met. So the count should increase to 2. Same would go for Jun 20 and Jul 20.
My current measure is this:
CALCULATE(
COUNTROWS(
FILTER(
DATESINPERIOD(
'Calendar'[Month_Yr],
MAX('Calendar'[Month_Yr]),
-1,
MONTH
),
OngoingCosts >= Rolling12*1.2
)
),
REMOVEFILTERS('Calendar'[Month_Yr])
)
I am not able to provide the file because there is too much confidential data. I was able to create a workaround for the issue instead of counting months I would just compare the metric from the previous month and the current month.
Hi @Bi2thelly ,
Could you pls share your pbix file? Remember to remove confident data.
Best Regards
Lucien