The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi everyone,
I am trying to perform a function that allows me to accumulate the percentage, but not using the traditional method with DATESYTD, because it takes the amounts and not the results of the monthly percentages.
The idea is to create both measure 1, as well as measure 2, which is the one that accumulates.
I appreciate your help.
Solved! Go to Solution.
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
Expected measure: =
CALCULATE (
SUMX ( Data, Data[Value2] / Data[Value1] ),
FILTER ( ALL ( Data ), Data[Date] <= MAX ( Data[Date] ) )
)
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
Expected measure: =
CALCULATE (
SUMX ( Data, Data[Value2] / Data[Value1] ),
FILTER ( ALL ( Data ), Data[Date] <= MAX ( Data[Date] ) )
)
User | Count |
---|---|
15 | |
13 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
19 | |
13 | |
9 | |
5 |