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! Request now

Reply
sunil222
Helper II
Helper II

how to pass parameter into dax calculation

how to pass parameter into dax calculation , i have fy24 plan column i.e dax calucltion based on 2023-04-01 to 2024-03-31.

 

now requirement is filter on the year and month columns as a  slicer if user selects the any month and year it shows the data in that fy24 plan column, my manager suggets create a parameter and utilize it.

 

Please help me on this?

2 REPLIES 2
lbendlin
Super User
Super User

Parameters are expressions, not partitions. They are only exposed in Power Query and in the Power BI Service.  To use them in DAX you need to convert them to partitions  (ie enable load).

danextian
Super User
Super User

Hi @sunil222 

As always, please provide a usable sample data  (not an image, please don't make us manually encode your data) that fully encompasses your use case and the expected result using that sample data. Also, please take note that a calculated column ins static until it is modified again or the underlying data is refreshed so it won't respond to the change in parameter value via slicer selection.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

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.

Top Solution Authors
Top Kudoed Authors