Forum Discussion
Web URL Images
- 9 years ago
Dog,
I don't know how you have your data but to simulate you information I have done this:
Table Data: KPI, Budget, PY
Table Images: ID (Up, Down, Right), URL image
Column with Variation Budget - PY (based on your formula)
Column with Var chk (based on your formula) with lookupvalue format as Web URL
Then added the KPI + Var chk to the multi row card and the image as the change I wanted, if I change the information the images act accordingly.
To give further detail I would need more details on the information and to waht level you want to have it, because if the KPI's are based on YTD, MTD value the setup may have to suffer some changes.
Regards
Mfelix
Hi Dog,
I just change my PBI to the multi row card and it also works fine, how do you want to set up the filter to the card? A slicer? A graph? how do you know what is the image you want to display.
MFelix
I am using it to replace a usual KPI, my client wants to see up and down arrows.
so there is no slicer I can use, the output will be determined based upon financial data YoY
I have a measure that currently performs.
BudgetVsPreviousYear:=
var FC_FY = [Budget FY]
var BD_FY = [Actual PFY]
var RetVal = FC_FY - BD_FY
I was then doing this using unicode
return IF(ROUND(RetVal, -3) > 0, "⯅", IF(ROUND(RetVal, -3) < 0, "⯆", "⯇⯈"))
but this didn't display correctly for all users.
but i want to
var Chk = IF(ROUND(RetVal, -3) > 0, "Up", IF(ROUND(RetVal, -3) < 0, "Down", "Right"))
return LOOKUPVALUE(ImageTable[ImageURL], ImageTable[Name], Chk)
//the image table stores the name (up, down or right) for each url.