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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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 ?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 81 | |
| 66 | |
| 50 | |
| 45 |