Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
56 | |
56 | |
38 | |
29 |
User | Count |
---|---|
75 | |
62 | |
45 | |
40 | |
39 |