Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Rob
Frequent Visitor

cumulative for a certain period with DirectQuery

Hello,

 

I have a data set which looks like this :

13/02/2017 : box

14/02/2017 : cards

15/02/2017 : bottles

... and so on

But this data set is used with DirectQuery

 

And like this topic : https://community.powerbi.com/t5/Desktop/cumulative-for-certain-period/td-p/19465

I would like to calculate the cumulative of the NUMBER of item over a period.

However, when I try to use the code used in the previous topic, it is said that "filter" is not supported with DirectQuery.

Is there a solution to also show on a graphe, the cumulative number of item in a graphe with DirectQuery ?

 

Thank you in advance,

Rob

 

1 REPLY 1
Eric_Zhang
Microsoft Employee
Microsoft Employee

@Rob

Please go to "File"->"Option and settings"->"Options"->"DirectQuery" and allow unstrict measures.

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors