Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Solved! Go to Solution.
Hi @Anonymous ,
Is [Nombre Imapye] a measure or a column?
If it's a measure, please try
AAA =
SUMX (
FILTER ( ALL ( Impaye ), [IdPretAide] = MAX ( Impaye[IdPretAide] ) ),
[Nombre Impaye]
)
If it's a column, please try
AAA =
SUMX (
FILTER ( ALL ( Impaye ), [IdPretAide] = MAX ( Impaye[IdPretAide] ) ),
SUM ( Impaye[Nombre Impaye] )
)
If you still have doubts, provide some dummy sample data, along with the desired results. If [Nombre Impaye] is a measure, please provide a description of this formula. Remember to protect data privacy.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Is [Nombre Imapye] a measure or a column?
If it's a measure, please try
AAA =
SUMX (
FILTER ( ALL ( Impaye ), [IdPretAide] = MAX ( Impaye[IdPretAide] ) ),
[Nombre Impaye]
)
If it's a column, please try
AAA =
SUMX (
FILTER ( ALL ( Impaye ), [IdPretAide] = MAX ( Impaye[IdPretAide] ) ),
SUM ( Impaye[Nombre Impaye] )
)
If you still have doubts, provide some dummy sample data, along with the desired results. If [Nombre Impaye] is a measure, please provide a description of this formula. Remember to protect data privacy.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Can you add a
Proud to be a Super User!
doesn't work like this :
Perhaps someone else knows a good solution. I would try to use summerize to have the sum per idpretaide and do than the further operations.
Proud to be a Super User!
Sorry, i did not understand your problem. What do you want to see?
Proud to be a Super User!
I want to calculate the of sum of "impaye" by "idpretaide", i used the function allexecpt to group the sum of "impaye" by "idpretaide", it work in total, but when i filter with date slicer, it give me the total, i need to have the sum of "impaye" by "idpretaide" working with the slicer code date.
Add to your DAX a variable which calulated the total for the date range.
Proud to be a Super User!
I added this :
User | Count |
---|---|
99 | |
90 | |
85 | |
74 | |
67 |
User | Count |
---|---|
114 | |
103 | |
100 | |
72 | |
64 |