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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
ahmadhatahet
Helper I
Helper I

Drill through overwrite calculate filter

 Hello Community.

 
I made a cumulative measure using calculate, all calendar and max date, very easy basic DAX.
 
When I drill through from page to page in Power BI desktop report this cumulative measure doesn't work, more specific All Calendar doesn't work, because I tried using All Data and it works (it gives me the sum of all rows in the table).
 
The source report has month and year filters, which the target report inherits from the source.
My point of view is the Calendar table filter the Data table because of the relationship,
and the Cumulative function has ALL(Calendar[Date]) filter but the drill through overwrite the filter inside calculate.
 
Is this what happening?
How to solve this?
 
SharedScreenshot.jpg

 

1 ACCEPTED SOLUTION
ahmadhatahet
Helper I
Helper I

I just went to the model and I don't know how but the cumulative works as it should.

 

A great mystery to me.

 

Thank you guys, really appreciate the efforts and the time 😊

View solution in original post

8 REPLIES 8
ahmadhatahet
Helper I
Helper I

I just went to the model and I don't know how but the cumulative works as it should.

 

A great mystery to me.

 

Thank you guys, really appreciate the efforts and the time 😊

ahmadhatahet
Helper I
Helper I

@v-deddai1-msft 

@amitchandak 

 

Hello again,

I am very thankful to your interest in my issue, and I have a question regarding this.

 

Is it a matter on how Power BI prioritize the filters?

 

ahmadhatahet
Helper I
Helper I

I just tested drilling down from an account, who has a balance at the end of selected month and year, but has no transaction in the same period.

Normal sum = blank [Sure there are no transaction in the selected period]

Cumulative = blank [which is my issue]

All = gives me a total [which is all transaction in the selected period only all data, not all dates and all data, therefore the ALL(Calendar) is not working after drilling]

 

Once I clear Month or Year filter the data comes as anticipated.

 

Hop this test be useful in any way.

 

SharedScreenshot4.jpg

amitchandak
Super User
Super User

@ahmadhatahet , share Normal sum and Cumulative  formula

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Thank you for your reply.

 

SharedScreenshot2.jpg

Hi @ahmadhatahet ,

 

What is the relationship between your fact table and calendar table ?

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

 

Thank you for your reply.

 

Calendar > Data (1 > *) [Date column as a key]

 

SharedScreenshot3.jpg

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.