Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello all,
I am trying to connect two parameters to each other.
The first one is called "Day" as it contains day range from 1 to 31.
The second one is called "Index" and should be connected to the "Day" parameter with the following logic as shown in the screenshot.
For example :
Please find in attachment the pbix sample file.
Can you help me solve it ?
Many thanks.
@Greg_Deckler @amitchandak @Ashish_Mathur
Abdoullah
Solved! Go to Solution.
Hi @ATTAR
Another way of doing that is as follows https://we.tl/t-rEUCEmyA59
Index =
GENERATE (
Parameter,
VAR CurrntValue = Parameter[Parameter]
VAR DayOfToday = DAY ( TODAY ( ) )
VAR IndexStart = IF ( CurrntValue <= DayOfToday, -13, -12 )
VAR IndexEnd = IF ( CurrntValue <= DayOfToday, -2, -1 )
RETURN
GENERATESERIES ( IndexStart, IndexEnd, 1 )
)
Hi @ATTAR
Another way of doing that is as follows https://we.tl/t-rEUCEmyA59
Index =
GENERATE (
Parameter,
VAR CurrntValue = Parameter[Parameter]
VAR DayOfToday = DAY ( TODAY ( ) )
VAR IndexStart = IF ( CurrntValue <= DayOfToday, -13, -12 )
VAR IndexEnd = IF ( CurrntValue <= DayOfToday, -2, -1 )
RETURN
GENERATESERIES ( IndexStart, IndexEnd, 1 )
)
Tables cannot read the filter context. Ot won't automatically update on selection
Do you need to add this index as a column? Then how does the table look like?
@tamerj1
Not as a column but as slicer.
Will be linked later with a DIM_Calendar table based on the values.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 22 | |
| 18 | |
| 16 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 42 | |
| 40 | |
| 40 | |
| 38 |