Forum Discussion
base64 Dynamic Image URL
- 1 year ago
It does not let me click on the OK button when I choose ImageD as an Image URLYou cannot assign column categories to measures.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
JS0309 , Try creating separate measures for each image:
GreenCheckImage = "data:image/png;base64xxxxxxx"
RedXImage = "data:image/png;base64yyyyyyy"
YellowWarningImage = "data:image/png;base64zzzzzz"
Use these measures in your ImageD measure:
DAX
ImageD =
SWITCH(TRUE(),
[profit] > 0, [GreenCheckImage],
[profit] <= 0, [RedXImage],
[YellowWarningImage]
)
- JS03091 year agoFrequent Visitor
bhanu_gautam Thanks, I tried this method but it isn't working either. It does not let me click on the OK button when I choose ImageD as an Image URL
- lbendlin1 year agoSuper User
It does not let me click on the OK button when I choose ImageD as an Image URLYou cannot assign column categories to measures.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523