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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How to make dynamic calculation to calculated columns based on end-user selection

Hi,

 

I have a problem with calculated columns. The goal is to get working calculated column month grouped similarly like Month grouped Measure. The best way is to look at the app which is the attachment

https://github.com/anatoli85/PowerBI . 

 

Determistic_0-1684692874369.png

 

 

 

 

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , You can not create a calculated column based on slicer value , you have to create a measure

 

Month Type = Switch( True(),
Max(Table[Period]) = selectedvalue(Table[Period]),"This Month" ,
"Other"
)

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
Anonymous
Not applicable

I need a calculated column, is there any way to turn around this problem? Other  BI tools (like Qlik, Tableuau) it is possible.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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