Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
RenataOG30s
Frequent Visitor

Replace a value for an image in DAX measure

Hello all,

 

I have the DAX below, which gives that red dot (it's just a letter 'o') when the growth is negative.

 

Has Poor Course = VAR ThisAcademicYear =
(
SELECTCOLUMNS (
TOPN (
1,
'DWH Dim_Application_Date',
'DWH Dim_Application_Date'[Application Academic Year Desc], DESC
),
"Application Academic Year Desc", 'DWH Dim_Application_Date'[Application Academic Year Desc]
)
)

VAR LastAcademicYear =
(
LEFT ( ThisAcademicYear, 4 ) - 1 & "/"
& LEFT ( ThisAcademicYear, 4 )
)

VAR ApplicationsByCourse =
(
SUMMARIZE (
'DWH Fact_Course_Application',
'DWH Dim_Course'[Course Name],
"Applications This Year", CALCULATE (
SUM ( 'DWH Fact_Course_Application'[Application Count] ),
'DWH Dim_Application_Date'[Application Academic Year Desc] = ThisAcademicYear
),
"Applications Last Year", CALCULATE (
SUM ( 'DWH Fact_Course_Application'[Application Count] ),
'DWH Dim_Application_Date'[Application Academic Year Desc] = LastAcademicYear
)
)
)

RETURN
SELECTCOLUMNS (
TOPN (
1,
ApplicationsByCourse,
IF (
DIVIDE ( [Applications YTD Current Year], [Applications Last Year YTD] ) - 1 < 0,
1,
0
), DESC
),
"isPoorPerformer", IF (
DIVIDE ( [Applications YTD Current Year], [Applications Last Year YTD] ) - 1 < 0,
"o",
""
))

RenataOG30s_0-1633349035071.png

 

My question is, how can replace the letter with an image?
I have tried copy and paste the URL link on the measure, but it gives me a link address on the table rather than an image.
 
Can you please advise?
 
Many thanks,
R.
1 REPLY 1
ERD
Community Champion
Community Champion

Hi @RenataOG30s ,

Have a look at this article: https://visualbi.com/blogs/microsoft/powerbi/dynamically-display-images-power-bi/ 

If this post helps, then please consider Accept it as the solution ✔️to help the other members find it more quickly.

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.

Check out my latest demo report in the data story gallery.

Stand with Ukraine!


Here are official ways you can support Ukraine financially (accounts with multiple currencies):
1) Support the Armed Forces of Ukraine: https://bank.gov.ua/ua/about/support-the-armed-forces
2) Come Back Alive foundation: https://www.comebackalive.in.ua/

Thank you!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.