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
AvichaiBI
Frequent Visitor

Dinamic Paramter and calculate on date

I have specific date, and i want to get for user enter number. 

Then to create Measure to calculate new date and if new date > old date then "good" else "error".

 

i try this so:

1. I define parameter "numeric range"

2. I use with dax -ADDDATE, but sometimes the new date blank- no legality.

3. I use with dax-IF NEW DATE>OLD DATE....

this is doesn't work.

 

AvichaiBI_1-1663760994643.png

 

 

 

 

1 ACCEPTED SOLUTION
v-chenwuz-msft
Community Support
Community Support

Hi @AvichaiBI ,

 

You create a parameter called "number range" and then the user can slide that parameter so that you get a number? Add that number to the specific date, date to get a new date? If yes, you can just use "+" to add the number like the following:

 

selectedvalue(table[specific date]) + selectedvalue( parameter[number] )

 

If i misunderstood you, please provide more details about you want.

 

Best Regards

Community Support Team _ chenwu zhu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
AvichaiBI
Frequent Visitor

HI @v-chenwuz-msft ,

Now i want to chack the date grether then, between this with Parameter to receiptDate.

AvichaiBI_0-1664343018164.png

ToleransDate is measure, specific date+Parameter, the formula doesn't work.

tnx

AvichaiBI
Frequent Visitor

it's work. tnx 🙂

 

v-chenwuz-msft
Community Support
Community Support

Hi @AvichaiBI ,

 

You create a parameter called "number range" and then the user can slide that parameter so that you get a number? Add that number to the specific date, date to get a new date? If yes, you can just use "+" to add the number like the following:

 

selectedvalue(table[specific date]) + selectedvalue( parameter[number] )

 

If i misunderstood you, please provide more details about you want.

 

Best Regards

Community Support Team _ chenwu zhu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.