cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Anonymous
Not applicable

Measure with summed up values according to filters

Hi all,

 

I have following issue where I hope to find help here.

I want to create a measure which has the values of a column which is filtered by a contains function.

 To be precise. I have endless financial transactions on numerous subaccounts. Now i want to filter for the main account number which all these suaccounts contain. But I am failing and failing.

So is there a way to do that without editing my data model?

 

Thanks in advance

BR,

Paul

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous  Try this

 

Calculate(Sum(table[Column]),filter(table,left(table[Account number],8)="60200000"))

 

 

There is also one function stringCOntains. You can try out that also.

 

Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar

If I resolve your problem Mark it as a solution and give kudos.

 

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous 

share sample data and expected output.

 

Thanks,

PRavin

 

Anonymous
Not applicable

image.png

image.png

 

does this help?

 

Anonymous
Not applicable

@Anonymous  Try this

 

Calculate(Sum(table[Column]),filter(table,left(table[Account number],8)="60200000"))

 

 

There is also one function stringCOntains. You can try out that also.

 

Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar

If I resolve your problem Mark it as a solution and give kudos.

 

 

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors