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.
Hi,
I've created a calculated column (combined kg) with the following DAX code:
for this contract the dax code works perfectly but for the whole table i need a dynamic filter on "contract + line"
Can anyone help me?
Context info: The main contract is given by department B. If department A gives a vendor an underlying contract the number of kilo's is reduced on contract from department B.
Solved! Go to Solution.
Hello @GertjanBoersma
If I get you correctly you want to change the "Contract + Line" value dynamically as per filter selection?
If yes you can use the SELECTEDVALUE in measure.
Please let me know if you're expecting something else.
Hello @Anonymous,
It's not used for a measure but for a calculated column. In my table i have multible contract from different contracts. that's why i need a dynamic filter on contract+line and department.
If i use the SELECTEDVALUE after the && operator an error accured. Can you show me the dax code?
gr
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |