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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
gg80
Frequent Visitor

Is possible to ignore row filter context in a table ?

Hi! I have found various similar issues to this one in the forum but no one of solutions provided works for me 😞

I need for some calculations in a table, the value of the selected value in Group filter. It works OK in a card (as displayed in screenshot attached) , but, when I tried to use it in a table, it change between 2 and 3 (you can see in the table in the screenshot), I understand this is due to the row context filter is being applied to the measure.

I need that the value "Selected Group" in my table remains being 3 (the one selected) not depending on row context filter, hoy can I reach that ? I tried with ALL, ALLSELECTED combinations with no success at all

gg80_0-1714600029443.png

 

Currently my "Selected Group" Measure looks like:

Selected Group =

VAR currGroup = MAX('Table'[Group Code])

RETURN

CALCULATE(

MAX('Table'[Group Code]),

FILTER ( ALLSELECTED('Table'),  'Table'[Group Code] = currGroup )

)


Thansk in advance!

3 REPLIES 3
gustavog80
Regular Visitor

Hi, so, this is not possible ? I mean, not sounds so crazy, I just wanted to get the value selected in the filter, not depending on anyhing else, neither row context or context filter, sounds possible ? Should be simple but seems not is. 

Anonymous
Not applicable

Hi, @gg80

You can create a new measure and try the following dax : 

Selected = 
VAR currGroup = SELECTEDVALUE('Table'[Group Code])
RETURN
IF(
    ISBLANK(currGroup),
    CALCULATE(MAX('Table'[Group Code]), ALL('Table')),
    currGroup
)

 

Here is my preview:

 

vyohuamsft_2-1714636275817.png

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

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

Hi Yohua! Thanks for your time. For some reason, I tried the soluttion propposed and still having same results, do you have some idea what could be the reason of this different behaviour ? :S

gg80_0-1714660461906.png

gg80_2-1714660497982.png

Additionally, when no value is selected on Group filter, "Selected" Measure still shows 3 on card, and 2 or 3 in the table:


gg80_1-1714660470522.png

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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