Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
I have tasks defined by projects at start of the year and month on month actuals will be added. Need to plot a chart to actuals in one line and another one linear trend till start of the next year (i.e Jan'25). Attached data and out snapshot for reference
The liner line needs to be configured. it could be of 6% or 8%. The measure should work on Project filter as well when applied.
| MonthYear | Project | Tasks |
| 24-Jan | 250 | |
| 24-Feb | 251 | |
| 24-Mar | 220 | |
| 24-Apr | 220 | |
| 24-May | ||
| 24-Jun | ||
| 24-Jul | ||
| 24-Aug | ||
| 24-Sep | ||
| 24-Oct | ||
| 24-Nov | ||
| 24-Dec | ||
| 25-Jan |
Solved! Go to Solution.
Thanks for the reply from @lbendlin , please allow me to provide another insight:
Hi @manojk_pbi ,
I created some data:
Here are the steps you can follow:
1. Create calculated table.
Table 2 =
var _date=
SUMMARIZE('Table','Table'[Month],"mindate",MINX(FILTER(ALL('Table'),'Table'[Month]=EARLIER('Table'[Month])),[Date]))
return
ADDCOLUMNS(
_date,"rank",RANKX(_date,[mindate],,ASC))
2. Select [Month] – Column tools – Sort by column – [rank].
3. Create measure.
value =
var _index=MINX(ALL('Table 2'),'Table 2'[rank])
var _month=MINX(FILTER(ALL('Table 2'),'Table 2'[rank]=_index),[Month])
var _value=
SUMX(FILTER(ALL('Table'),'Table'[Month]=_month),[Tasks])
RETURN
IF(
MAX('Table 2'[rank])= _index,_value,
_value-
_value * (MAX('Table 2'[rank])-1) * 0.008)
4. 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
Thanks for the reply from @lbendlin , please allow me to provide another insight:
Hi @manojk_pbi ,
I created some data:
Here are the steps you can follow:
1. Create calculated table.
Table 2 =
var _date=
SUMMARIZE('Table','Table'[Month],"mindate",MINX(FILTER(ALL('Table'),'Table'[Month]=EARLIER('Table'[Month])),[Date]))
return
ADDCOLUMNS(
_date,"rank",RANKX(_date,[mindate],,ASC))
2. Select [Month] – Column tools – Sort by column – [rank].
3. Create measure.
value =
var _index=MINX(ALL('Table 2'),'Table 2'[rank])
var _month=MINX(FILTER(ALL('Table 2'),'Table 2'[rank]=_index),[Month])
var _value=
SUMX(FILTER(ALL('Table'),'Table'[Month]=_month),[Tasks])
RETURN
IF(
MAX('Table 2'[rank])= _index,_value,
_value-
_value * (MAX('Table 2'[rank])-1) * 0.008)
4. 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
This burndown chart pattern has been discussed quite frequently here in the past couple weeks. Have you tried the search function?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 4 | |
| 3 | |
| 2 |