Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
30 | |
26 |
User | Count |
---|---|
99 | |
87 | |
45 | |
43 | |
35 |