cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Krijgerss21
Helper II
Helper II

DAX meassure for card visuals

i need some help

 

if got a list of company's with contact persons. now i want to show the contact person in a card visual if i select a company from the list but if i dont select any company i want the card visual empty so not a blank or the first contact person just a blank card with only the catorgy label visual and if i select a company than i want to see the "Catogrylabel" and the "contactperson"

3 REPLIES 3
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

try this:

 

Measure  = if(ISBLANK(SELECTEDVALUE('Table (20)'[contactperson])),"",SELECTEDVALUE('Table (20)'[contactperson]))
 
DOLEARY85_0-1681217570866.png

 

DOLEARY85_1-1681217583492.png

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍


 
 
Sudhir_M1992
Frequent Visitor

Could you please share some dummy data so that we can take a look and help you with this.

company        contactperson

name               name

name               name

name               name

name               nema

name               name

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors
Top Kudoed Authors