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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

How to use expression in powerbi

Hello

I have matrix in PowerBi of portfolio values..  In the data there is a column for 'moves', 'groupcoa' and the values are GBP.

I just want a subset of this data for Capitalised Interest such that I only bring back the GBP values where moves = ICAPI or ICPIK ans the account is in 1301,1351,1361,1401,1461.  In Qlikview i would have put this in an expression as below in the matrix

sum({<moves = {"ICAPI", "ICPIK"}, groupcoa = {"1301","1351","1361","1401","1461"}> }GBP)

In powerbi, how would you do this? Would you add a column into the data query or create a measure or do you have to hardcode the filters?  Many thanks Paul

 

pripley_0-1650901146767.png

 

1 ACCEPTED SOLUTION
jennratten
Super User
Super User

You can apply these filters using the filter pane of the visual or you can create a measure to calculate this.

View solution in original post

1 REPLY 1
jennratten
Super User
Super User

You can apply these filters using the filter pane of the visual or you can create a measure to calculate this.

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.

Top Solution Authors