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 have created two charts to display the NPS scores of clients, One is a line chart showing the NPS score over multiple years and the other is a tachometer chart to display the NPS score,
Now, if I select a client name from a slicer 'Client 1' there are three possibilities here
For each of the possibilities I want to display different output
Is it possible to display or hide visuals based on the conditions using dax? I have an event date column with the all the dates and can use that to extract the year
So this is the sample data I have
Session date | Client | Programme | Event | NPS |
12/3/2022 | Client 1 | Prog C1 1 | Skills for tomorrow | 7 |
12/3/2022 | Client 1 | Prog C1 1 | Skills for tomorrow | 4 |
14/3/2022 | Client 1 | Prog C1 3 | CV writing | 6 |
14/3/2022 | Client 1 | Prog C1 3 | CV writing | 9 |
16/3/2022 | Client 2 | Prog C2 1 | Digital Marketing | |
16/3/2022 | Client 2 | Prog C2 1 | Digital Marketing | |
16/3/2022 | Client 2 | Prog C2 1 | Audience developemnt | 7 |
16/3/2022 | Client 2 | Prog C2 1 | Audience developemnt | 10 |
12/3/2023 | Client 2 | Prog C2 1 | Marketing techniques | 9 |
12/3/2023 | Client 2 | Prog C2 1 | Marketing techniques | 3 |
12/3/2023 | Client 2 | Prog C2 1 | Marketing techniques | 2 |
12/3/2023 | Client 2 | Prog C2 1 | Marketing techniques | 0 |
21/3/2023 | Client 2 | Prog C2 2 | Marketing techniques |
Each row is a feedback response from our learners and NPS is basically the NPS score. What I want is that if data filtered in the slicers (Client, program, event) and the year is one single year I show Tachometer like this
But if multiple years are selected for say one client or multiple clients it should show a line chart like this
and if no data is available it should show the message 'No data found'
Hope it helps? @v-zhangti
These are the measures I am using so far
for NPS:
Hi, @Anonymous
Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |