Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.