Forum Discussion
Modifying gauge visual
- Anonymous2 years ago
Hi emma313823
Sorry for not ending clearly.
I corrected Measure for you:
Prcnt-to-Frcst = VAR SumActual = CALCULATE ( SUM ( 'Forecast-v-Actual'[Actual] ) ) VAR SumForecast = CALCULATE ( SUM ( 'Forecast-v-Actual'[Forecast] ) ) RETURN FORMAT ( DIVIDE ( SumActual, SumForecast, 0 ), "Percent" )Then you can put the Prcnt-to-Frcst measure in the Callout value box, just as the Percentage measure in my side.
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi
I'm a little confused on your example. Trying to mirror based on my numbers and it is not working at all.
I have the following for my forcast and actual numbers numbers:
| Date | Forecast | Actual |
| 1/31/2024 | $80,000 | $69,453 |
| 2/29/2024 | $80,000 | $88,192 |
| 3/31/2024 | $80,000 | $79,290 |
| 4/30/2024 | $80,000 | $43,416 |
| 5/31/2024 | $80,000 | $86,123 |
| 6/30/2024 | $80,000 | $75,690 |
| 7/31/2024 | $85,000 | $55,725 |
| 8/31/2024 | $85,000 | |
| 9/30/2024 | $85,000 | |
| 10/31/2024 | $90,000 | |
| 11/30/2024 | $90,000 | |
| 12/31/2024 | $90,000 |
You have a 'percentage' measure in one of your screenshots, so not sure where that is coming from.
In the screenshot below I want to use the following items in the visual. And the visual is showing what I want where I want, however the 498K needs to be a percent.
If I select the 'value' on the visualization (the center number which is CumulativeActual - my measure) and select show value as 'percent of grand total'...it changes it to look like this.
Should a measure be created to capture the cumulativeActual / forecast?
I struggle with how to do this, but came up with this...
- Anonymous2 years agoNot applicable
Hi emma313823
Sorry for not ending clearly.
I corrected Measure for you:
Prcnt-to-Frcst = VAR SumActual = CALCULATE ( SUM ( 'Forecast-v-Actual'[Actual] ) ) VAR SumForecast = CALCULATE ( SUM ( 'Forecast-v-Actual'[Forecast] ) ) RETURN FORMAT ( DIVIDE ( SumActual, SumForecast, 0 ), "Percent" )Then you can put the Prcnt-to-Frcst measure in the Callout value box, just as the Percentage measure in my side.
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.- emma3138232 years agoHelper V
Hi
This is not working either. I get the following:
- Anonymous2 years agoNot applicable
Hi emma313823
Return is missing from your formula:
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.