Forum Discussion
Automatic calculation
- 4 years ago
Hi Tameismael,
Following this instruction:
1. You can create a new parameter from Mordeling /New parameter.
2. Use data type with whole number, minimum = 0, maximum = the number week you expect to see.3. Then multiply your current formula with that parameter.
4. Create a slicer or filter above with that parameterYou can download the sample file here for your case
https://drive.google.com/drive/folders/1qZh8MtEuSvm9F-kERIX3AZ12wxWxpFoU?usp=sharing - 4 years ago
Yes, if your data have a date column for each record, so you can use this formula to calculate the week up to today, Then you can model the relationship between this new column with Parameter above
New column in your data table:
WeekNoUpToToday = WEEKNUM(TODAY()) - WEEKNUM(DateOfRecord)
If I understand you correctly, you want the number of weeks to be changed automatically as the user's expectation when using it (without changing the formula).
I think you can create another table with the rows containing the numbers 1, 2, 3, 4... Then you can create a filter with the button 1 - 2 -3 - 4... after making the relationship between the tables
ā
Can you please provide a real example on that so the idea will be clear.
thank you
- linh0914 years agoResolver I
Hi Tameismael,
Following this instruction:
1. You can create a new parameter from Mordeling /New parameter.
2. Use data type with whole number, minimum = 0, maximum = the number week you expect to see.3. Then multiply your current formula with that parameter.
4. Create a slicer or filter above with that parameterYou can download the sample file here for your case
https://drive.google.com/drive/folders/1qZh8MtEuSvm9F-kERIX3AZ12wxWxpFoU?usp=sharing- tameismael4 years agoHelper I
Thank you very much I do appreciate that , I will be doing those steps.
many thanks,
- tameismael4 years agoHelper I
thank you again I have done it and it's successful. But is there is a way to add to the formula the Today function so it will bring my the number of contacts reached up to date ??
thanks
- linh0914 years agoResolver I
Yes, if your data have a date column for each record, so you can use this formula to calculate the week up to today, Then you can model the relationship between this new column with Parameter above
New column in your data table:
WeekNoUpToToday = WEEKNUM(TODAY()) - WEEKNUM(DateOfRecord)