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 Guys,
I'm trying to display a default image if the filter is not selecting anything. The problem is qhen there is no filter applied and comes the "first link" eg.:
TABLE
NOT FILTERED
FILTERED
Solved! Go to Solution.
Hi @Anonymous
I would recommend creating a measure such as this:
Selected Link = SELECTEDVALUE ( YourTable[Link], <expression resturning default link> )
This will return a default link in the case of multiple Link values, otherwise the selected link image in the case of a single Link value.
Ensure that the Data Category for this measure is set to Image URL (Modeling => Data Category) and then place this measure in the table or other visual that supports Image URLs.
Regards,
Owen
HI @Anonymous,
I'd like some sample data for test and coding formula.
According to your snapshot, it seems like summarize mode 'first' return the first record based on alphabetical order.
Regards,
Xiaoxin Sheng
Hi @Anonymous
I would recommend creating a measure such as this:
Selected Link = SELECTEDVALUE ( YourTable[Link], <expression resturning default link> )
This will return a default link in the case of multiple Link values, otherwise the selected link image in the case of a single Link value.
Ensure that the Data Category for this measure is set to Image URL (Modeling => Data Category) and then place this measure in the table or other visual that supports Image URLs.
Regards,
Owen
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
75 | |
63 | |
51 | |
48 |
User | Count |
---|---|
204 | |
86 | |
64 | |
59 | |
56 |