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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Show card with text based on slicer pick

Hi Power BI enthusiasts,

 

I'm very new to Power BI, and I want to display an explanation of what the slicer shows.

I'll try to show with pictures to explain what I want.

1. Picture of my slicers and graph

MadsVoss_0-1653300405198.png

2. Picture of my slicers and graph where i've selected "Queue Full"

MadsVoss_1-1653300426891.png

What i want is then the text to change accordingly to what I've selected. 

The main data source doesn't contain the explanations so i've imported an additional sheet with the explanations

3.  I've tried to make a relationship with the two sheets, but it doesn't seem to have any impact. (I might not know what I'm doing there)

MadsVoss_2-1653300538689.png

So what I want is when i select from the slicer which is based of "Errorlogs -> Moreinfo" to show "Sheet 2 -> Forklaring"  in the box left of the graph from picture 1.

I hope my explanation makes sense.

 

Best Regards,

Mads

1 ACCEPTED SOLUTION

You can create in any table. Measure is irrespective of table.

 

Please follow below post.

 

Hello @Anonymous ,

 

Try creating measure as below and use it in card. Also change the relationship to both Direction.

 

 

 

MEASURE = FIRSTNONBLANK(Sheet2[Forklaring],0)

 

 

 

 

Shishir22_0-1653301918869.png

 

 

 

Please mark it as answer if it solves your issue. Kudos are also aprreciated.

 

Cheers,
Shishir

View solution in original post

18 REPLIES 18
Arul
Super User
Super User

@Anonymous ,

If you selected something in slicer, what needs to be shown in the card? Please explain it bit more.

Thanks,

Arul

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Anonymous
Not applicable

So when i select something in the slicer i want to show text from my Sheet 2 (screenshot below)

MadsVoss_0-1653301519253.png

So the slicer has the same names as the column1 (Moreinfo) in the sheet above, and i want to show column  2 Forklaring, based on which slicer i choose. 

(EDIT)
To clear up all the data from the graph is from the sheet called "Errorlogs" shown in picture 3, but the text explaining the different types of errors, is from the sheet called "Sheet 2"

@Anonymous ,

Use more info column from sheet 2 instead of more info from  "Errorlogs -> Moreinfo" in slicer.

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Anonymous
Not applicable

When i use moreinfo from sheet 2 the slicer becomes blank, which doesn't make sense to me. 

MadsVoss_0-1653302435262.png

Since it has text in the sheet

MadsVoss_1-1653302451961.png

 

@Anonymous ,

try this once,

Use more info column from sheet 2 instead of more info from  "Errorlogs -> Moreinfo" in slicer.

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Hello @Anonymous ,

 

Try creating measure as below and use it in card.

 

MEASURE = FIRSTNONBLANK(Sheet2[Forklaring],0)

 

Please mark it as answer if it solves your issue. Kudos are also aprreciated.

 

Cheers,
Shishir
Anonymous
Not applicable

Do i create the measure in Errorlogs or Sheet 2? 

You can create in any table. Measure is irrespective of table.

 

Please follow below post.

 

Hello @Anonymous ,

 

Try creating measure as below and use it in card. Also change the relationship to both Direction.

 

 

 

MEASURE = FIRSTNONBLANK(Sheet2[Forklaring],0)

 

 

 

 

Shishir22_0-1653301918869.png

 

 

 

Please mark it as answer if it solves your issue. Kudos are also aprreciated.

 

Cheers,
Shishir
Anonymous
Not applicable

I've changed the relationship to both, and created the measure. (See picture)

MadsVoss_0-1653302111953.png

Now it just says (Blank) in the field. 

I've dragged the measure to Fields on my card, is this the wrong place?

 

Hello @Anonymous ,

 

On which column you have given relationships between two tables? Please check relationship is on correct column.

As @Arul, can you please pull More Info column from sheet2 insted of error log?

 

Please mark it as answer if it resolves your issue. Kudos are also appreciated.

 

Cheers,
Shishir
Anonymous
Not applicable

I've done like this in the relationship

MadsVoss_0-1653302534598.png

 

I've Tried @Arul 's suggestion and posted a reply.

I also want to say thank you so much to the both of you for helping me!

Can you please try giving relationship on error code?

Cheers,
Shishir
Anonymous
Not applicable

Like this?

MadsVoss_0-1653302774102.png

 

Yes please and also make relationship to both direction if you picking value in slicer from error logs table.

Cheers,
Shishir
Anonymous
Not applicable

I've got one last question, now when i haven't chosen anything it shows the text from choice nr. 5 "User Sample...."

MadsVoss_0-1653303129651.png

Can i get it to display nothing If i haven't selected anything.

 

Anonymous
Not applicable

Yay! It finally works! 
Thank you guys so much. 

You've absolutely made my day! 

@Anonymous ,

It should work as per this relationship between tables.

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Anonymous
Not applicable

Probably just me doing something wrong. I started using PowerBI two days ago. 🙂 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors