The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
83 | |
73 | |
51 | |
42 |
User | Count |
---|---|
140 | |
112 | |
72 | |
64 | |
63 |