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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
LaurentN
New Member

How to get 1 column in a table report filtered by a slicer not in sync with the table

Hello,

 

I am a PowerBi beginner and would like to know if it is possible to create a table report that behaves like explained in the attached picture (according to the fact table I have).

Question 1.jpg

I tried to do it with a DAX measure using the following formulas but it does not work as I wish : 

CALCULATE(SUM('Fact'[Invoice]),'Fact'[Customer] = SELECTEDVALUE('Fact'[Customer]))
CALCULATE(SUMX('Fact','Fact'[Invoice]),'Fact'[Customer]=SELECTEDVALUE('Fact'[Customer]))
 
The slicer does not filter the table in order to get all the product in the table even if the customer did not buy one.
I can provide a test pbix of necessary.
 
Is it possible to do it ?
 
Many thanks
1 ACCEPTED SOLUTION

OK, different approach.

Turn the interactions back on, create a new table 

Customers = VALUES(Table1[Customer])

do not create a relationship from the new table to the fact table, and create the sum measure as

Customer Tot = CALCULATE( SUM(Table1[Invoice]), TREATAS( VALUES(Customers[Customer]), Table1[Customer]))

View solution in original post

4 REPLIES 4
LaurentN
New Member

Thank you @johnt75 it works perfectly

johnt75
Super User
Super User

Select the slicer, go to the Format pane and choose Edit interactions. Turn off the interactions between the slicer and any other visuals then either version of your measure code should work as intended

Hello @johnt75 ,

 

As you can see in the following screenshot, the interactions bteween the slicer and the table is off but the formula does not work. I have the same result if I select C1, C2 or C3.

 

LaurentN_0-1649239855669.png

 

OK, different approach.

Turn the interactions back on, create a new table 

Customers = VALUES(Table1[Customer])

do not create a relationship from the new table to the fact table, and create the sum measure as

Customer Tot = CALCULATE( SUM(Table1[Invoice]), TREATAS( VALUES(Customers[Customer]), Table1[Customer]))

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 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.