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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Ania26
Helper IV
Helper IV

show values for all

 
1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @Ania26 ,

 

Not really sure if I understand what you want to achieve but if you replace the ALL by ALLSELECTED you will get the values based on the filter/values applied meaning that if you are at market level you will get that specific market value if you are at any other level you will get the total values for the selected markets.

 

If this is not the expected outcome please elaborate a little bit more on the result and if possible share a mockup file and expected result.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





View solution in original post

2 REPLIES 2
alish_b
Super User
Super User

Hi @Ania26 ,
Straightforward option could be to create two measures each for its own intended purpose, the original measure above would be Out_Total and a base version of the measure that lets the filter Destination Market flow through will be a Out_Market measure. And it could even be modified as:

OUT_Market = 
CALCULATE(
    [(CC) Volume Estimates],
    'EPS Data_CIGARETTES_BASE'[*** Domestic Indicator] = "Non-Domestic",
    'EPS Data_CIGARETTES_BASE'[Year] = 2025
)

OUT_Total = 
CALCULATE(
    [OUT_Market],
    ALL('EPS Data_CIGARETTES_BASE'[Destination Market])
)

I believe you had applied the ALL for a certain intent such a KPI card or something for which you had to modify the filter context to block any filter coming in for the Destination market. Again, in another visual, you want the filter for the same field to come through but that such a conditional turning on or off of a filter context cannot be cleanly achieved so this approach might be a maitainable one.

Hope it helps!

MFelix
Super User
Super User

Hi @Ania26 ,

 

Not really sure if I understand what you want to achieve but if you replace the ALL by ALLSELECTED you will get the values based on the filter/values applied meaning that if you are at market level you will get that specific market value if you are at any other level you will get the total values for the selected markets.

 

If this is not the expected outcome please elaborate a little bit more on the result and if possible share a mockup file and expected result.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.