Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
122 | |
80 | |
47 | |
44 | |
35 |
User | Count |
---|---|
183 | |
84 | |
69 | |
48 | |
45 |