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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Can We make What IF parameter in Direct Query Mode?
Solved! Go to Solution.
@usman96,
It is not possible to use What if parameter in Direct Query mode, in this mode, the what if parameter feature is disabled.
Regards,
Lydia
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
@usman96,
It is not possible to use What if parameter in Direct Query mode, in this mode, the what if parameter feature is disabled.
Regards,
Lydia
@Anonymous
Is it still not possible ?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.