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
Hello,
I get a problem with the function TOTALYTD. In the screenshot below, the datas highlighted in green are correct.
The total per trimestre (Total1) is well displayed via this syntax :
Total1 = SUM(APM[ID])
In the fourth column, i would like to display, a total cumulativ. Each line "Total1" has to be added to the previous one. I use this code without success. I get the same result that the ones' calculated in the column "Total1".
VCA =
TOTALYTD ( [Total1], APM[creationDate] )
Below the table used for the data.
An idea ?
Thx
Solved! Go to Solution.
Hi @NCLSOG ,
Here are my test process
To achieve your goal, you can follow these steps:
Here are my test data:
1.Open Transform data and split TrimeStre column and merge Annee column and TimeStre.1 column
2.Create two measures by using dax
Total1 = SUM('Table'[ID])
VCA =
VAR _table = SUMMARIZE(ALL('Table'),'Table'[Merged],"_value",[Total1])
RETURN
SUMX(
FILTER(_table,
[Merged]<=MAX('Table'[Merged])),[_value])
3.Create a table and use merged column ,two measures
4.Final output
In order for you to solve the problem faster, you can refer to the following documentation
How to Get Your Question Answered Quickly - Microsoft Fabric Community
Best Regards,
Albert He
Hi @NCLSOG ,
Here are my test process
To achieve your goal, you can follow these steps:
Here are my test data:
1.Open Transform data and split TrimeStre column and merge Annee column and TimeStre.1 column
2.Create two measures by using dax
Total1 = SUM('Table'[ID])
VCA =
VAR _table = SUMMARIZE(ALL('Table'),'Table'[Merged],"_value",[Total1])
RETURN
SUMX(
FILTER(_table,
[Merged]<=MAX('Table'[Merged])),[_value])
3.Create a table and use merged column ,two measures
4.Final output
In order for you to solve the problem faster, you can refer to the following documentation
How to Get Your Question Answered Quickly - Microsoft Fabric Community
Best Regards,
Albert He
Time Intelligence functions require a calendar table that is contiguous and covering.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
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 |
---|---|
110 | |
77 | |
70 | |
48 | |
41 |
User | Count |
---|---|
139 | |
112 | |
72 | |
64 | |
62 |