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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.