Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello All,
I am creating a measure for the purpose of Quarter over Quarter change.
I have a syntax here that does work.
Expense QoQ change =
var prevquarter =
CALCULATE([Measure for Fact Expense],
DATEADD(FY_Accounting_Dates[Date],-4,QUARTER))
RETURN DIVIDE([Measure for Fact Expense]-prevquarter,prevquarter)
I am trying to add/integrate the ISBLANK to this syntax. The reason is, the Quarters that are in the future, it shows -100% for all those, since there is no value yet. Any help how I add add ISBLANK to this code to aviod this problem on the visual. Thanks!
Hello @pfarahani ,
Try this one
Expense QoQ change =
var prevquarter =
CALCULATE([Measure for Fact Expense],
DATEADD(FY_Accounting_Dates[Date],-4,QUARTER))
var previousQuarter = DIVIDE([Measure for Fact Expense]-prevquarter,prevquarter)
RETURN
IF ( ISBLANK ( PreviousQuarter ), 0, previousQuarter)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
24 | |
20 | |
15 | |
13 |
User | Count |
---|---|
55 | |
48 | |
43 | |
19 | |
19 |