Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello all
I have a problem with DAX
I have slicer company and month for 3 companies. But there is a need to add one option in the slicer company which is "Consol". When I press the console, then all the values will appear as shown on the donut chart now.
I need a DAX formula when I press a company in a certain month, then the donut chart will display the revenue from that company (I have made a DAX formula). But if I press the console, it will display all the revenue values of each company.
Actually the choice of the Company Console also has its own value. But I don't show the value, because I want the value for the company console options from the other three companies.
I just want when I click the console option that appears is the Revenue value of the three companies from the existing DAX formula.
The following is the file
https://drive.google.com/file/d/1nlZhVeagoqqgaCfe5gU6mkKN7Kkd0GYJ/view?usp=sharing
Hi @PowerVisualBI ,
Please consider to create a measure like below to filter the chart:
Measure = IF(selectedvalue('table'[company]) in values('slicer'[company]),1,0)
Add this measure to visual filter and set value = 1
Best Regards,
Jay
Where did the 'Slicer'[company] come from sir @Anonymous
User | Count |
---|---|
81 | |
79 | |
65 | |
48 | |
45 |
User | Count |
---|---|
103 | |
44 | |
39 | |
39 | |
37 |