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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
TristanO216
Frequent Visitor

Avoid filtering cumulative sum

Hi,

I am trying to make a progess curve, using a cumulative sum. The point is to obtain a percentage of the finshied tasks over the total number of tasks.

This is easy using "Quick measures"; and this gives me the following DAX code :

Progress = 
CALCULATE(
	COUNTA('TASK'[TASK_PROGRESS]);
	FILTER(
		ALL('DATES'[Column1]);
		ISONORAFTER('DATES'[Column1]; MAX('DATES'[Column1]); DESC) 
    )
)

With

'TASK'[TASK_PROGRESS]

the percentage of progress in one task.

 

Now, the problem is, when I want to show this as a curve on a graph, if I filter the graph to focus on a particular period of time, the progress is filtered too. So it begins a 0% and ends at 100%.

I would like to knwo if it was possible not to "zoom" on a particular period of time without having an impact on the progress curve.

 

Thanks

Tristan

4 REPLIES 4
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @TristanO216 

It seems you may use Edit interactions like below: The graph and the table would not be filtered by the slicer Primary Key.

1.png

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-cherch-msft,

 

Thanks for you answer but that's not what I am looking for.

My "Progress" value must not impacted by the filter imposed by the slicer, contrary to the other data on my visual.

Some pictures will help me to explaine what I am looking for :

progress.PNG

Here I have the complete period of time. The progress is starting at 0%, and ends at 100%,.

progress2.PNG

After applying a filter in time, my progress is still beginning at 0% and ends at 100%.

 

My goal is that my progress curve follows the actual value, based on the 2015-2019 period, and not on the only on the 2016 period.

 

Thanks for your help

Tristan

Hi @TristanO216 

Show a simple sample here.You may try to create a Month table and use it as x-axis.Create the second same data table to get the sales.Link them as below.Then the different slicers could change different lines.Please refer to below attached simple file.

1.png

Regards

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @TristanO216 

Could you tell me if your problem has been solved? If it is,kindly mark the helpful answer as a solution and welcome to share your own solution. More people will benefit from here. If not, please share more details for us so that we could help further on it.

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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