cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vignesh-490
Frequent Visitor

Display text with selected values

Hi ,

 

1. Steel is one dropdown

2.April is a date field

 

I wanted to display the page with the dropdown selected (ie Steel selected for example) and the date should display till current date (ie November for example)

How can i achieve this in Desktop.

 

vignesh490_1-1669015471625.png

 

 

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@vignesh-490 

use SELECTEDVALUE to get the value in the dropdown

format(today(),"mmmm") to get month name

at last use "&" to connect





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

Proud to be a Super User!




View solution in original post

2 REPLIES 2
v-yiruan-msft
Community Support
Community Support

Hi @vignesh-490 ,

You can create a measure as below and put this new measure onto a card visual just as below screenshot...Please find all the details in the attachment.

Measure = SELECTEDVALUE('Table'[Column1])&" Till "&FORMAT(TODAY(),"MMMM")

yingyinr_0-1669103771839.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ryan_mayu
Super User
Super User

@vignesh-490 

use SELECTEDVALUE to get the value in the dropdown

format(today(),"mmmm") to get month name

at last use "&" to connect





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

Proud to be a Super User!




Helpful resources

Announcements
Winner of T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Find out who won the T-Shirt Design Challenge and the top 3 finalists.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

Power BI Dev Camp Session 32

Ted's Dev Camp - March 30, 2023

In this session, we'll examine important design issues and decisions that arise when developing with Power BI embedding.

Top Solution Authors