March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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...
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |