Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hi,
How to limit the calculation of growth(Eg: Annual growth), where the Fact data table contains only 20 months of data. I mean I don't want to get the growth while the previous year is not having 12 months.
Or in a MAT line graph, the first 11 months' data point is incorrect as it contains only data for less than 12 months and I need to eliminate such calculations.
Appreciate your help.
Solved! Go to Solution.
Hi @Jimmy_Chacko ,
Add an if condition before the calculation of growth.
For example:
measure =
var count_last_year = calculate(count([month]),filter(table,[year] = selectedvalue([year])-1))
return
IF(count_last_year=12,[growth],blank())
Best Regards,
Jay
Hi @Jimmy_Chacko ,
Add an if condition before the calculation of growth.
For example:
measure =
var count_last_year = calculate(count([month]),filter(table,[year] = selectedvalue([year])-1))
return
IF(count_last_year=12,[growth],blank())
Best Regards,
Jay
| User | Count |
|---|---|
| 23 | |
| 19 | |
| 18 | |
| 17 | |
| 11 |
| User | Count |
|---|---|
| 54 | |
| 53 | |
| 42 | |
| 38 | |
| 32 |