cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Bademeister1337
Helper I
Helper I

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

@Bademeister1337  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 @Bademeister1337 

share sample data and expected output.

 

Thanks,

PRavin

 

image.png

image.png

 

does this help?

 

Anonymous
Not applicable

@Bademeister1337  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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

Top Solution Authors
Top Kudoed Authors