Forum Discussion

Qianru221's avatar
Qianru221
Helper II
8 years ago
Solved

Card Visualization shows the wrong information

Hi All   I plotted a graph showing price changes of the company products against time. I added one product filter. I also added a Card visual, which shows the product name when one of the product...
  • Zubair_Muhammad's avatar
    8 years ago

    Hi Qianru221

     

    Try this MEASURE

     

    =
    IF ( ISFILTERED ( TableName[Product] ), SELECTEDVALUE ( TableName[Product] ) )
  • JoHo_BI's avatar
    8 years ago

    Hi Qianru, 

     

    You'll need to use a measure here, and a formula like the following:

     

    Selected Product = IF(HASONEVALUE(Table[Product]),VALUES(Table[Product]),"Multiple Products Selected!")

     

    Hope that helps!