Forum Discussion
elmer
Helper I
7 years agoFiltering data in a measure in power BI
Hi to everyone, I'm practicing the creation of measures in power bi to filter some data. I'm using the FILTER function, but I cannot understand how I can properly filter the data in a way that the m...
- Anonymous7 years ago
Hi elmer ,
You can create a measure as below. Below measure will sum marks for all subjects which haging word "Math"
Measure = CALCULATE(SUM(Sheet1[Marks]), FILTER(Sheet1, SEARCH("Math",Sheet1[Subject],,0)))If this solves your problem please accept thsi as solution and give khudos.Thanks.
Anonymous
7 years agoNot applicable
Hi elmer ,
You can create a measure as below. Below measure will sum marks for all subjects which haging word "Math"
Measure = CALCULATE(SUM(Sheet1[Marks]), FILTER(Sheet1, SEARCH("Math",Sheet1[Subject],,0)))
If this solves your problem please accept thsi as solution and give khudos.
Thanks.
- elmer7 years ago
Helper I
Hi Anonymous , It works! thanks!