The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I have a sample data as below,
Customer | Opportunity | Status | GUI |
A | Development | Lost | X |
B | Testing | Closed | X |
C | Development | Won | Y |
D | Analysis | Open | Y |
E | Development | Lost | Z |
F | Testing | Closed | Z |
G | Analysis | Open | X |
A | Testing | Closed | X |
B | Analysis | Won | X |
C | Development | Open | Y |
I have few other visuals which displays the financial numbers for the selected opportunity.
I am looking to create two measures which has to,
1. Show data only for the selected client (I have another dropdown via which I will select a client name)
2. Show data for the selected client and all the other clients in the GUI. For eg, Client A belongs to 'X' GUI and clicking on this should show me the values for all the clients in the 'X' GUI.
Any suggestions for this requirement?
Solved! Go to Solution.
@Pragadeesh Sounds like a Complex Selector: The Complex Selector - Microsoft Fabric Community
See PBIX file attached below signature.
Measure =
VAR __SelectedCustomer = SELECTEDVALUE('Customers'[Customer])
VAR __Customer = MAX('Table'[Customer])
VAR __Result = IF( __Customer = __SelectedCustomer, 1, 0)
RETURN
__Result
Measure2 =
VAR __SelectedCustomer = SELECTEDVALUE('Customers'[Customer])
VAR __SelectedGUI = MAXX( FILTER( ALL('Table'), [Customer] = __SelectedCustomer ), [GUI] )
VAR __GUI = MAX('Table'[GUI])
VAR __Result = IF( __GUI = __SelectedGUI, 1, 0)
RETURN
__Result
@Pragadeesh Sounds like a Complex Selector: The Complex Selector - Microsoft Fabric Community
See PBIX file attached below signature.
Measure =
VAR __SelectedCustomer = SELECTEDVALUE('Customers'[Customer])
VAR __Customer = MAX('Table'[Customer])
VAR __Result = IF( __Customer = __SelectedCustomer, 1, 0)
RETURN
__Result
Measure2 =
VAR __SelectedCustomer = SELECTEDVALUE('Customers'[Customer])
VAR __SelectedGUI = MAXX( FILTER( ALL('Table'), [Customer] = __SelectedCustomer ), [GUI] )
VAR __GUI = MAX('Table'[GUI])
VAR __Result = IF( __GUI = __SelectedGUI, 1, 0)
RETURN
__Result
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
119 | |
89 | |
75 | |
53 | |
45 |
User | Count |
---|---|
135 | |
120 | |
75 | |
65 | |
64 |