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 September 15. Request your voucher.

Reply
akhaliq7
Post Prodigy
Post Prodigy

Measure that sums a value based on whats been filtered in a table

Is there a measure I can create that will return the sum of sales in my card based on what is left in my table.

For example in my page I have a card visual and a table visual. I place a sum(sales) measure in my card and place fields in my table from my fact table. I then filter my fact table from the filter panel (not a slicer) is there a way if I filter my table only shows from 100 rows to 10 and the sales go from 100,000 to 10,000 is there a way for it to update in my card. I don't want to use a page level fiter I want to continue using visual level filters as it is more accurate in my case.

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @akhaliq7 ;

It's Okey, I tested it as follow:

sum = SUM('Table'[value])

vyalanwumsft_0-1655692782869.png

vyalanwumsft_1-1655692798441.png


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
v-yalanwu-msft
Community Support
Community Support

Hi, @akhaliq7 ;

It's Okey, I tested it as follow:

sum = SUM('Table'[value])

vyalanwumsft_0-1655692782869.png

vyalanwumsft_1-1655692798441.png


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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