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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
akbjf
Helper I
Helper I

Create a Measure to Filter Column based on Another Column Value

Hi all,

 

Hope you guys are doing good. I have a table like this:

Capture.PNG

 

Now, I want to have a measure that return all the value from "Value" column where the attribute is "FC DBNR".

None of the column is measure/calculated column.

 

Can you suggest me how to do it?

 

Thank you! Stay safe!

 

Akbar

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@akbjf , Create this measure and use it with date or date and attribute in a visual

 

New Measure = calculate(sum(Table[Value]),Table[attribute] ="FC DBNR")

 

You can also us sum(Table[Value]) with visual level filter or slicer filtered on Table[attribute] ="FC DBNR"

View solution in original post

3 REPLIES 3
DR_GT
New Member

Hello

it could be like this:

Medida1 = CALCULATE( sum(Table[Value]), Table[Attribute] = "FC DBNR" )

amitchandak
Super User
Super User

@akbjf , Create this measure and use it with date or date and attribute in a visual

 

New Measure = calculate(sum(Table[Value]),Table[attribute] ="FC DBNR")

 

You can also us sum(Table[Value]) with visual level filter or slicer filtered on Table[attribute] ="FC DBNR"

works like magic, thank you Amik!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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