Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello,
I have many calculated fields (100+) which I would like to add into the graph based on the sellection. Graph should show only one metric which I choose in the dropdown menu.
For this I created table where is name of these metrics (which I would like to select) and name of the calculated fields (calculation behind) :
Name metric name calculated field
number of clients cnt_client
amount of credit amt_credit
...
...
...
Then I have there switch which chose calculated field based on the sellected name.
Bu question: Is possible to create switch like
switch(table[Name metric], selected table[Name metric], '[table[name calculated field]]' - take calculated field which has same as in the table) in one row instead write every possibility for each name metric one by one?
Thank you
Hi @caduwek ,
Maybe. Can you give a specific example data?
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I think this link can help. But seems like you already have this method
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
86 | |
78 | |
54 | |
39 | |
35 |
User | Count |
---|---|
102 | |
84 | |
48 | |
48 | |
48 |