Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi all,
I would like to pass a DAX Measure as a parameter to the SEARCH Function. However, this does not seem to work. Please see example below.
https://1drv.ms/u/s!Avv4DxzuMuq2kckFD3Xai4HIo3qk0w?e=KPgzPs
I would have expected that the output of the table is as follows when FieldID = "D" is selected. Can anyone help? PowerBI attached.
A, 1
B, 3
C, 0
D, 0
Solved! Go to Solution.
Hi,
It is because calculated column can not dynamically be changed by slicer selected.
Please try this measure:
New FieldIDinWithin5Selected = FIND(SELECTEDVALUE(Sheet2[FieldID]),MAX(Sheet1[Within5]),,0)
When you select 'D' in slicer, it shows:
Here is the changed pbix file:
Hope this helps.
Best Regards,
Giotto Zhi
I have a measure that calculates this value based on the row. I have concatenated the value and its change %. How can I apply color on the result as if the value contain "-" then make the value red, if + then green
Thanks for your help
Hi,
It is because calculated column can not dynamically be changed by slicer selected.
Please try this measure:
New FieldIDinWithin5Selected = FIND(SELECTEDVALUE(Sheet2[FieldID]),MAX(Sheet1[Within5]),,0)
When you select 'D' in slicer, it shows:
Here is the changed pbix file:
Hope this helps.
Best Regards,
Giotto Zhi
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
87 | |
65 | |
50 | |
45 |
User | Count |
---|---|
217 | |
88 | |
81 | |
65 | |
56 |