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 all,
How can I add a column that states IF 'custom' is in the future then add a 15 cumulative total for each row?
30 May 2021 15
06 June 2021 30
etc
@HenryJS
You can add the following DAX calculated column:
Cumm =
IF(
Table[Custom] > TODAY() ,
RANKX( FILTER(Table,Table[Custom] > TODAY() ) , Table[Custom], , ASC) * 15
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@HenryJS , not very clear. Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Try a new column like
sumx(filter(Table, [custom] <=earlier([custom])),[QTY])
@amitchandak I want to add a new DAX column that states if Week Ending is in the future then add a cumulative 15 for each week
so if week ending is in future each week ending adds 15 cumulatively, 15, 30, 45, 60 etc for each week in future
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 |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 32 | |
| 27 | |
| 25 |