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
kethavathamru03
New Member

I want to create calculated columnbased on slicer selection

 
1.png2.png

In front end based on slicer selection only, I need to show Product, Release, Calculated column fields in a table

5 REPLIES 5
MattAllington
Community Champion
Community Champion

You definitely can created calculated columns and use them for slicers. What you can't to is select a slicer and have it recalculate a calculated column. Maybe if you explain your date model (tables, relationships, etc) and explain what you want to do, someone will be able to help. 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.
MattAllington
Community Champion
Community Champion

You can't create calculated columns based on slicers.  Same goes for calculated tables. You need to write measures



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Would something like this work?

releaseProduct =
VAR release = SELECTEDVALUE(slicer[release])


RETURN
SWITCH(
TRUE(),
DataTable[release] = release, DataTable[Product],
DataTable[release] < release, "Reg",
BLANK()
)

You can't create calculated columns based on slicers



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Yes, I know however I need use this calculated colunm as slicer to select (dropdown ) selection, then what is the alternate way to achive this?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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