Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I try to create cumulative line of unique value for selected period.
It is next step of this topic https://community.powerbi.com/t5/Desktop/Create-Cumulative-line-from-measure/m-p/1002230#M475697
I have this:
Solved! Go to Solution.
@Cosik , try like
Totals xxx (Cumulative WOs) =
calculate ([Unikatowe WO],
FILTER ( ALLSELECTED ( 'MDS current' ), 'MDS current'[RFS Week] <= max ('MDS current'[RFS Week]) ),
)
@Cosik , try like
Totals xxx (Cumulative WOs) =
calculate ([Unikatowe WO],
FILTER ( ALLSELECTED ( 'MDS current' ), 'MDS current'[RFS Week] <= max ('MDS current'[RFS Week]) ),
)
Come on, it was so simple?
I don't like it, when the answer is so trivial.
Thx for help.
@CosikCan you try using countrows with values instead of distinctcount and see if it helps? See this article for example:
https://docs.microsoft.com/en-us/dax/values-function-dax
=COUNTROWS(VALUES('InternetSales_USD'[SalesOrderNumber]))
The result it still the same.
Unique value are good but cumulative value is still the same.
The synta still don't recognize measure for unique value. 😕
I try also add this diractle to Cumulative syntax but is even worse.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!