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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
prabhatnath
Advocate III
Advocate III

Filtering a Table Visual with a Measure Value

Hello Friends,

I have a Report from a single Dataset-1. It has a Slicer-1 representing a TextColumn-1 of the Dataset-1 and a Table Visual-1 that shows the data based on the Slicer-1 selection.

 

I have another Measure-1 that store a calculated value based on the Slicer-1 selection (previous value of the selected value in the Slicer based on some condition).  

 

I have another report page in the same file that has the Slicer Synced from Page-1. I need to add a Table Visual in this page that should show data from Dataset-1 where  TextColumn-1 = Measure Value.

 

Please suggest how can I get this done.

Thanks,

Prabhat

4 REPLIES 4
Anonymous
Not applicable

Hi @prabhatnath ,

If I understand you correctly, I'm afraid you will need to create a new table specifically for your slicer to more easily achieve your desired results.
Here are my sample datasets:

vjunyantmsft_0-1704767705042.png

vjunyantmsft_1-1704767713144.png

There is no relationship between the two tables:

vjunyantmsft_2-1704767746115.png

I put this measure2 in the "Filters on this visual" of the table visual on page1:

Measure 2 = 
IF(
    ISFILTERED(Slicer[TextColumn]),
    IF(
        SELECTEDVALUE('Dataset-1'[TextColumn-1]) = SELECTEDVALUE(Slicer[TextColumn]),
        1,
        0
    ),
    1
)

 

vjunyantmsft_3-1704767865235.png

This measure3 is then placed in the "Filters on this visual" of the table visual on page2:

Measure 3 = 
IF(
    ISFILTERED(Slicer[TextColumn]),
    IF(
        SELECTEDVALUE('Dataset-1'[TextColumn-1]) = 'Dataset-1'[Measure],
        1,
        0
    ),
    1
)

 

vjunyantmsft_4-1704767928426.png

The results are as follows:

vjunyantmsft_5-1704767952037.png
vjunyantmsft_6-1704767960000.png

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

Thank you @Anonymous  for the reply. This is working as expected.

Unfortunately I will not be able to create separate table for Slicer as there are many visuals already using the same slicer.

 

Or is there a possible to create measures that will list the values from specific column from Dataset-1 and use those measures in the TableVisual in Page 2 
Or may be creating a Virtual Table using selecte columns with a condition for previous value?

Thanks.

Anonymous
Not applicable

Hi @prabhatnath ,

I can find a workaround for you to display the value you need in page2 without creating a new table for slicer, but this method only displays one value, not the whole line.
Put this measure into the table visual:

Measure 4 = 
VAR SELECTED = 
CALCULATE(
    MAX('Dataset-1'[ID-1]),
    FILTER(
        ALL('Dataset-1'),
        'Dataset-1'[TextColumn-1] = SELECTEDVALUE('Dataset-1'[TextColumn-1])
    )
)
VAR A =
CALCULATE(
    MAX('Dataset-1'[TextColumn-1]),
    FILTER(
        ALL('Dataset-1'),
        'Dataset-1'[ID-1] = SELECTED - 1
    )
)
RETURN
CALCULATE(
    SUM('Dataset-1'[Value-1]),
    'Dataset-1'[TextColumn-1] = A,
    ALL('Dataset-1')
)

The final output is below:

vjunyantmsft_0-1704850029742.pngvjunyantmsft_1-1704850039659.png

Corresponds to page3 and page4 in the pbix file below.

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

Thank you for your help.
As the need is to show the table with multiple columns and rows.

Is there a way we can create measures for each column that we want to show in the table visual ? The new measure should be able to return multiple rows. Or a new dynamic virtual table. Just my thoughts.

 

Thanks,

Prabhat 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors