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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
mislavraguz
New Member

Filtering rows by option set item

I'm stuck with kinda banal issue while creating PBI report. I'm using account hierarchy with several levels. Each level has one option set item value. For example, Level 1 has value "A", Level 2 has value "B", etc. I'd like to create column which shows only records with selected value A and I'm struggling to get it.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @mislavraguz ,

The value of a calculated column is computed during data refresh and is stored in the model. Its value will not change with user interaction (filter, slicer selection, etc.). As @amitchandak suggested, you can create a measure. A measure operates on aggregations of data defined by the current context, which depends on the filters applied in the report. You can check the following blog to know more information about calculated column and measure.

Calculated Columns and Measures in DAX

Using the SELECTEDVALUE function in DAX

SELECTEDVALUE

Best Regards

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @mislavraguz ,

The value of a calculated column is computed during data refresh and is stored in the model. Its value will not change with user interaction (filter, slicer selection, etc.). As @amitchandak suggested, you can create a measure. A measure operates on aggregations of data defined by the current context, which depends on the filters applied in the report. You can check the following blog to know more information about calculated column and measure.

Calculated Columns and Measures in DAX

Using the SELECTEDVALUE function in DAX

SELECTEDVALUE

Best Regards

amitchandak
Super User
Super User

@mislavraguz , selectedvalue means value from slicer. You can not create a new column from selected value from slicer

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

So, if I udnerstood you well, you cannot create a column for records with only certain option set item?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors