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 Everyone,
I am trying to create a line which show my actual values - solid line and forecaste value - dotted line. Same as the picture below.
But when I create it, it is having a gap same as the below picture.
Would like to know how can I fix the issue.
Thanks in advance
Thanks,
Aakanksha
Solved! Go to Solution.
Hi @atasgao ,
I created some data:
Here are the steps you can follow:
1. Create measure.
M_ForeastAmountRemainingMonth =
SUM('Table'[ForeastAmountRemainingMonth])
M_ActualsAmountYTD =
SUM('Table'[ActualsAmountYTD])
Measure-ActualsAmountYTD =
IF(
MAX('Table'[date].[MonthNo])<10&&MAX('Table'[date].[MonthNo])>=9,CALCULATE(SUM('Table'[ForeastAmountRemainingMonth]),FILTER(ALL('Table'),[date].[MonthNo]=10)),[M_ActualsAmountYTD])
2. Place [M_ForeastAmountRemainingMonth] and [Measure-ActualsAmountYTD] in the line chart.
3. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @atasgao ,
I created some data:
Here are the steps you can follow:
1. Create measure.
M_ForeastAmountRemainingMonth =
SUM('Table'[ForeastAmountRemainingMonth])
M_ActualsAmountYTD =
SUM('Table'[ActualsAmountYTD])
Measure-ActualsAmountYTD =
IF(
MAX('Table'[date].[MonthNo])<10&&MAX('Table'[date].[MonthNo])>=9,CALCULATE(SUM('Table'[ForeastAmountRemainingMonth]),FILTER(ALL('Table'),[date].[MonthNo]=10)),[M_ActualsAmountYTD])
2. Place [M_ForeastAmountRemainingMonth] and [Measure-ActualsAmountYTD] in the line chart.
3. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
@atasgao , Create a measure (only for forecast visual line) to have actual of last month added to forecast
or even forecast line can be actual + forecast, in-display it will display like you want
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 |
---|---|
113 | |
97 | |
80 | |
69 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |