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.
Hi,
I have the following sample of values:
BRAND | YEAR | VALUE |
A | 2021 | 20 |
A | 2022 | 10 |
A | 2020 | 5 |
A | 2019 | 8 |
In a visual for a line chart where X is the year how can i have a tooltip that counts the total of years that the line represents? For each datapoint the tooltip should read the year, the value and the number of years (4).
Thanks.
Solved! Go to Solution.
You could create a measure like
Num Years = COUNTROWS( ALLSELECTED( 'Table'[Year] ) )
and add that to the tooltip.
You could create a measure like
Num Years = COUNTROWS( ALLSELECTED( 'Table'[Year] ) )
and add that to the tooltip.
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 |
---|---|
104 | |
69 | |
49 | |
41 | |
34 |
User | Count |
---|---|
164 | |
111 | |
62 | |
53 | |
38 |