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

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

Reply
shanmukharao
New Member

How to create new colum using parameter

Hi

this is calucated in tableau. I want to crearte colum filed by using parameter. In the below screenshort model_score is the parameter 

WhatsApp Image 2023-08-09 at 12.19.05 PM.jpeg

Thanks In Advance

Shanmukha

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @shanmukharao ,

 

You can try the following dax:

SWITCH(
    TRUE(),
    [Model_scores]="BNN",[Binary Neuralnet Decision],
    [Model_scores]="DTC",[Decision Tree Decision],
    [Model_scores]="SVM",[Svm Decision],
    [Model_scores]="RF",[Random Forest Decision],
    [Model_scores]="NG_BOOST",[Ng Boost Decision],
    [Model_scores]="RL",[Reinforcement Learning Decision],
    [Model_scores]="Rules_Score",[Last Submitted Decision])

 

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi  @shanmukharao ,

 

You can try the following dax:

SWITCH(
    TRUE(),
    [Model_scores]="BNN",[Binary Neuralnet Decision],
    [Model_scores]="DTC",[Decision Tree Decision],
    [Model_scores]="SVM",[Svm Decision],
    [Model_scores]="RF",[Random Forest Decision],
    [Model_scores]="NG_BOOST",[Ng Boost Decision],
    [Model_scores]="RL",[Reinforcement Learning Decision],
    [Model_scores]="Rules_Score",[Last Submitted Decision])

 

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

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.