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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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