Forum Discussion
Filter Table by Selected Quarter (mindate / maxdate)
- 4 years ago
Hi PBIDataNerd ,
Tables and columns in PBI are ALWAYS STATIC.They're recalculated when data is refreshed.
Measures are dynamic and the value will change with slicer or other filtering methods.
You can try to apply the following measure =1 in the visual level filter as workaround:
filteredbyQtr = VAR mindate = MIN ( 'Date'[Date] ) VAR maxdate = MAX ( 'Date'[Date] ) RETURN IF(MAX('SALES'[SaleDate])>=mindate &&MAX('SALES'[SaleDate])<=maxdate,1,0)
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi PBIDataNerd ,
Tables and columns in PBI are ALWAYS STATIC.They're recalculated when data is refreshed.
Measures are dynamic and the value will change with slicer or other filtering methods.
You can try to apply the following measure =1 in the visual level filter as workaround:
filteredbyQtr =
VAR mindate =
MIN ( 'Date'[Date] )
VAR maxdate =
MAX ( 'Date'[Date] )
RETURN
IF(MAX('SALES'[SaleDate])>=mindate &&MAX('SALES'[SaleDate])<=maxdate,1,0)
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.