Forum Discussion
ncbshiva
Advocate V
7 years agoIgnore the Month filter for one visual
Hi Team, I have Year and Month filters in my report from Date Dimension. And i have simple table chart showing "Compare From" and "Compare To" measures along the month. Relationship is setup be...
- 7 years ago
Hi ncbshiva ,
One sample for your reference. Please check the following steps as below.
1. Insert an index column in power query.
2. To create a calculated table as below.
Table = SELECTCOLUMNS(Table1,"month",'Table1'[Month],"Monthno",Table1[Index])
3. Then we can achieve our goal by this measure.
new compare from = VAR mon = SELECTEDVALUE ( 'Table'[Monthno] ) RETURN CALCULATE ( SUM ( Table1[Compare From] ), FILTER ( 'Table1', Table1[Index] <= mon ) )
v-frfei-msft
Community Support
7 years agoHi ncbshiva ,
One sample for your reference. Please check the following steps as below.
1. Insert an index column in power query.
2. To create a calculated table as below.
Table = SELECTCOLUMNS(Table1,"month",'Table1'[Month],"Monthno",Table1[Index])
3. Then we can achieve our goal by this measure.
new compare from =
VAR mon =
SELECTEDVALUE ( 'Table'[Monthno] )
RETURN
CALCULATE (
SUM ( Table1[Compare From] ),
FILTER ( 'Table1', Table1[Index] <= mon )
)