Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello everybody,
Here I have a DAX function which calculate realized actions on the month :
As you can see, it doesn't give the expected result. I tried different things but impossible to find the solution.
Can somebody can give me help to resolve this problem ?
Solved! Go to Solution.
Hi @Olf_10 ,
Please update the formula of your measure for culmulative calculation as below and check if it can return the expected result...
Culmulative =
CALCULATE (
SUM ( 'AERO - Achats'[Réalisé] ) / 1000,
FILTER (
ALLSELECTED ( 'Dim - Versions' ),
'Dim - Versions'[PQM - Année Mois] <= MAX ( 'Dim - Versions'[PQM - Année Mois] )
)
)
If the above one can't help you, please provide some raw data in your table 'AERO - Achats' with Text format and your expected result with backend logic and special examples? By the way, is there any relationship between these two tables? If yes, please provide the related info. It would be helpful to find out the solution. You can refer the following link to share the required info:
How to provide sample data in the Power BI Forum
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Hi,
This process/patern will work.
Total = divide(SUM('AERO - Achats'[Réalisé]),1000)
Total YTD = calculate([Total],datesytd('Calendar'[date]))
Hope this helps.
Hi @Olf_10 ,
Please update the formula of your measure for culmulative calculation as below and check if it can return the expected result...
Culmulative =
CALCULATE (
SUM ( 'AERO - Achats'[Réalisé] ) / 1000,
FILTER (
ALLSELECTED ( 'Dim - Versions' ),
'Dim - Versions'[PQM - Année Mois] <= MAX ( 'Dim - Versions'[PQM - Année Mois] )
)
)
If the above one can't help you, please provide some raw data in your table 'AERO - Achats' with Text format and your expected result with backend logic and special examples? By the way, is there any relationship between these two tables? If yes, please provide the related info. It would be helpful to find out the solution. You can refer the following link to share the required info:
How to provide sample data in the Power BI Forum
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
81 | |
70 | |
62 |
User | Count |
---|---|
148 | |
116 | |
104 | |
90 | |
65 |