The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello, could you please advise me how to perform below calculation?
I want to select particular value from "Grupa" table and show "Zmienna" in table on the left.
In below example it would be 0 for all rows and 1.11 for "Wyjazd".
Then I will perform multiplication of this "Zmienna" and value shown by measure in this table, but it should be easy if I overcome above issue.
Paweł
Solved! Go to Solution.
Hi @finch ,
Please follow steps below.
1. Create a table for slicer:
Grupa(for slicer) = VALUES('Table'[Grupa])
2. Add a what-if parameter:
3. Create a measure:
Measure = IF(MAX('Table'[Grupa])=SELECTEDVALUE('Grupa(for slicer)'[Grupa]),[Parameter Value],0)
Output:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @finch ,
Please follow steps below.
1. Create a table for slicer:
Grupa(for slicer) = VALUES('Table'[Grupa])
2. Add a what-if parameter:
3. Create a measure:
Measure = IF(MAX('Table'[Grupa])=SELECTEDVALUE('Grupa(for slicer)'[Grupa]),[Parameter Value],0)
Output:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
70 | |
64 | |
61 | |
49 | |
28 |
User | Count |
---|---|
117 | |
81 | |
65 | |
55 | |
43 |