Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I'm using this formula to show record in Matrix Visual
Solved! Go to Solution.
Hi @chintusasmal123 ,
It appears that you are trying to create a calculated table. As a calculated table, its values will not be affected by user interactions such as slicers and filters. Please follow the steps outlined below to get the expected table:
1. Create a year dimension table (Do not create any relationship with the table 'HRSSNew')
2. Create a slicer which apply the field [Year] of the above dimension table
3. Create a measure as below
Number =
VAR _year =
SELECTEDVALUE ( 'Year'[Year] ,YEAR(TODAY()))
VAR _count =
CALCULATE (
COUNT ( HRSSNew[ID] ),
FILTER (
HRSSNew,
( HRSSNew[Year] = _year
|| ( HRSSNew[Year] = _year - 1
&& HRSSNew[QuarterNo] = 4 ) )
&& HRSSNew[ProcessType] = "Reports"
)
)
RETURN
_count
Best Regards
Hi @chintusasmal123 ,
It appears that you are trying to create a calculated table. As a calculated table, its values will not be affected by user interactions such as slicers and filters. Please follow the steps outlined below to get the expected table:
1. Create a year dimension table (Do not create any relationship with the table 'HRSSNew')
2. Create a slicer which apply the field [Year] of the above dimension table
3. Create a measure as below
Number =
VAR _year =
SELECTEDVALUE ( 'Year'[Year] ,YEAR(TODAY()))
VAR _count =
CALCULATE (
COUNT ( HRSSNew[ID] ),
FILTER (
HRSSNew,
( HRSSNew[Year] = _year
|| ( HRSSNew[Year] = _year - 1
&& HRSSNew[QuarterNo] = 4 ) )
&& HRSSNew[ProcessType] = "Reports"
)
)
RETURN
_count
Best Regards
User | Count |
---|---|
98 | |
76 | |
76 | |
48 | |
26 |