Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi I am using a measure to show % the problem if there is no data in the future it is showing blank is there any chance can we show it as -100% like that
Solved! Go to Solution.
Try this
GBP % =
VAR CurrentYearASP = [sum GBP]
VAR PreviousYearASP =
CALCULATE ( [sum GBP], DATEADD ( 'Date table'[Date], -1, YEAR ) )
VAR _result =
DIVIDE ( CurrentYearASP - PreviousYearASP, PreviousYearASP )
RETURN
IF ( ISBLANK ( _result ), -1, _result )
Try this
GBP % =
VAR CurrentYearASP = [sum GBP]
VAR PreviousYearASP =
CALCULATE ( [sum GBP], DATEADD ( 'Date table'[Date], -1, YEAR ) )
VAR _result =
DIVIDE ( CurrentYearASP - PreviousYearASP, PreviousYearASP )
RETURN
IF ( ISBLANK ( _result ), -1, _result )
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
72 | |
35 | |
21 | |
18 | |
15 |
User | Count |
---|---|
126 | |
32 | |
27 | |
24 | |
23 |