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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.