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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi everyone,
I am trying to create a column that uses a parameter.
My parameter will be a date, and I need to fill my column according to an "IF" formula that compares the dates from another column to my parameter date, but I don't know how to address my parameter in DAX language.
I tried to put an "#" before the name of my parameter in the formula but that doesn't work.
Could you help me please?
Thanks
Hi @JulietteGSA,
It would be easy if we create a table directly. There is similar feature "What if" that only support numbers for now. Please also refer to How-to-reference-a-parameter-to-a-DAX-function/td-p/60517 and dynamic-parameters-for-what-if-analysis.
Best Regards,
Dale
Hello @JulietteGSA,
According to sqlbi.com, In order to have a parameter in a measure, you need a table with a column that contains all the possible values you might want to use... allows transferring a value through the filter context".
You should include sample data with your expected outcome and maybe we can assist further.
Proud to be a Super User!
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 56 | |
| 43 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 123 | |
| 108 | |
| 44 | |
| 32 | |
| 24 |