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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
kipi17
New Member

DAX issue ISBLANK

Hello Team,

 

Why Show_Row is giving different outputs there?

 

It should be false in both the outputs since there is no selection of any region

 

This is probably because of the row context (region is being selected virtually). How can I override that (in the LHS)?

 

 

1768382482182.png

1 ACCEPTED SOLUTION
v-dineshya
Community Support
Community Support

Hi @kipi17 ,

Thank you for reaching out to the Microsoft Community Forum.

 

What you are seeing is correct Power BI behavior, and it is a hard limitation, not a DAX bug. DAX CANNOT “remember” a previous slicer selection after it is deselected. Measures are stateless. Once the slicer is cleared, the information is gone. That’s why your table shows all regions again. By using slicers, you can't achieve the desired result. But by using the Bookmarks + Buttons, you can achieve the desired result.

 

I hope this information helps. Please do let us know if you have any further queries.

 

Regards,

Dinesh

 

View solution in original post

14 REPLIES 14
v-dineshya
Community Support
Community Support

Hi @kipi17 ,

Thank you for reaching out to the Microsoft Community Forum.

 

What you are seeing is correct Power BI behavior, and it is a hard limitation, not a DAX bug. DAX CANNOT “remember” a previous slicer selection after it is deselected. Measures are stateless. Once the slicer is cleared, the information is gone. That’s why your table shows all regions again. By using slicers, you can't achieve the desired result. But by using the Bookmarks + Buttons, you can achieve the desired result.

 

I hope this information helps. Please do let us know if you have any further queries.

 

Regards,

Dinesh

 

Hi @kipi17 ,

We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. And, if you have any further query do let us know.

 

Regards,

Dinesh

Hi @kipi17 ,

We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. And, if you have any further query do let us know.

 

Regards,

Dinesh

MasonMA
Super User
Super User

Hi,

 

SELECTEDVALUE() only returns a value when exactly one distinct value exists in the current filter context.

In your matrix, at Total/higher levels or when multiple regions exist in scope, SELECTEDVALUE() returns BLANK, but you can force it to give True like below.

MasonMA_0-1768398813240.png

 

 

Thanks, but this is not my business objective; please check my reply to Elena

Elena_Kalina
Solution Sage
Solution Sage

Hi @kipi17 

Please specify your business objective when creating this measure

hi @Elena_Kalina ,

 

This is to control Power BI action; once I deselect a bar, the table should be fixed to a region, say West, 

 

Regards,

KIPI

Hi @kipi17 

I'm a little confused by your answer. You wrote: 'once I deselect a bar, the table should be fixed to a region, say West.' That means you selected, for example, the West bar, and when you removed that selection, in the bar chart all values should be highlighted again, but in the table the value you selected should remain, is that right?

Best regards,

EK

Desired Behavior: When a user selects West/East/Central, the report should display only the corresponding region’s sales, which is the default behavior of Power BI filters.

However, if the user deselects the region, it should retain the previously selected region instead of reverting to “Show All.”

For example:

  • If I click West, it should filter to the West region.
  • If I click West again, it should remain on West, rather than showing all regions (which is Power BI’s default behavior).

The same logic should apply to East and Central.

I dont think this would be natively possible.

When you click to deselect the region, Power BI visuals clear the filters. This behavior would have been hard‑coded and cannot be modified in visual interactions. If you look for workarounds, you may test with disconnected Region table with no physical relationship so that you can use DAX to drive your measures based on selection. 

Yes, not currently possible. Power BI doesn’t retain previous slicer selections. It only knows what’s currently selected, so if nothing is selected or previous selections have been deselected, it treats it as “select all.”





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Yes, but I am not sure if we can do this even with disconnected tables

MattiaFratello
Super User
Super User

Hi @kipi17 , 

The Show_Row measure produces different outputs because, in the matrix row contexts (e.g., for East and West regions), it detects a single region via row context from the Region column, evaluating to TRUE, while the true Grand Total uses only the overall filter context (no slicer selection), making it FALSE.

Row context from the visual's Region hierarchy implicitly "selects" one region per row, overriding pure filter context checks.

 

If this has helped you please feel free to mark it as a solution and to give kudos 👍

Thanks , what can be a workaround here?

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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