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.
Hi everyone!
I am new working with Power BI and I have a problem. My cumulative amount dosen't work when I add the date. Does someone know why?
My formula of date: DATE= CALENDARAUTO ()
My cumulative formula: Cumuldonsenjour= CALCULATE([Nombre de dons par jour];FILTER(ALL(DONS[Jcampagne]);DONS[Jcampagne]<=MAX(DONS[Jcampagne])))
Thank you!!
Solved! Go to Solution.
Can you explain what exactly is not working?
Is the [Jcampagne] column of Data Type: Date
Also try filtering the table without referencing the column like this...
Cumuldonsenjour = CALCULATE ( [Nombre de dons par jour]; FILTER ( ALL ( DONS ); DONS[Jcampagne] <= MAX ( DONS[Jcampagne] ) ) )
If DONS[Jcampagne] is a date and you've set a relationship to DATE[Date] then this should work also
Cumuldonsenjour = CALCULATE ( [Nombre de dons par jour]; FILTER ( ALL ( DATE ); DATE[Date] <= MAX ( DATE[Date] ) ) )
Can you explain what exactly is not working?
Is the [Jcampagne] column of Data Type: Date
Also try filtering the table without referencing the column like this...
Cumuldonsenjour = CALCULATE ( [Nombre de dons par jour]; FILTER ( ALL ( DONS ); DONS[Jcampagne] <= MAX ( DONS[Jcampagne] ) ) )
If DONS[Jcampagne] is a date and you've set a relationship to DATE[Date] then this should work also
Cumuldonsenjour = CALCULATE ( [Nombre de dons par jour]; FILTER ( ALL ( DATE ); DATE[Date] <= MAX ( DATE[Date] ) ) )
Thank you so much, it works 🙂
By the way, do you know how to calculate the cumulative return rate?
I did it like this:
Taux de retour cumulé = DIVIDE([Cumul dons];SUM('Mailing details'[Nombre d'envois]))
Thank you again
:)))
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 |
---|---|
107 | |
98 | |
78 | |
65 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |