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
GR83
Regular Visitor

Add Value of a row to another row when 2nd filter is selected

Hi I have a Table 

Where I have location and days of a week with Values

Ex

Location    Mon   Tue   Wed   Thu  Fri   Sat  Sun

Atlanta         5        7        3        2     5     4      9

Dallas           5        3        3        4     3      1      5

 

I have to create 2 single select location slicers A & B

if I select Atlanta in Slicer A and Dallas in Slicer B

I want to add Atlanta Values to Dallas Values

 

2 REPLIES 2
amitchandak
Super User
Super User

@GR83 , In this case the first slcier need to a connected City table slicer and the second slicer need to on a disconnected city table slicer and you need a measure

 

M1= calculate(sum(Table[Value]) , keepfilters(Table, Table[City] in union(allselected(city[City]) , allselected(city2[City]) )

))

 

OR

 

 

M1= calculate(sum(Table[Value]) , filter(Table, Table[City] in union(allselected(city[City]) , allselected(city2[City]) )

))

 

Also check

Compare Categorical Data Using Slicers - Compare two Brands: https://youtu.be/exN4nTewgbc

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi, Thanks for the reply, do I need to create Measure for each day of week seperately. 

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.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.