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! Learn more

Reply
usman96
Helper II
Helper II

Direct Query

Can We make What IF parameter in Direct Query Mode?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@usman96,

It is not possible to use What if parameter in Direct Query mode, in this mode, the what if parameter feature is disabled.
1.JPG

Regards,
Lydia

View solution in original post

4 REPLIES 4
miltenburger
Helper V
Helper V

I think it is better to use the CASE statement, some more information about this that might help:

https://stackoverflow.com/questions/63447/how-do-i-perform-an-if-then-in-an-sql-select

 

Kind regards

but I want to make What if parameter so that i could use it in my Dashboard as a slicer/Filter

Anonymous
Not applicable

@usman96,

It is not possible to use What if parameter in Direct Query mode, in this mode, the what if parameter feature is disabled.
1.JPG

Regards,
Lydia

Anonymous
Not applicable

@Anonymous 

Is it still not possible ?

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.

Users online (9,916)