Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi there,
Just wanted to ask if there is a way to create card with dynamic selected text AND fixed text.
As following sample shows:
Fixed text: Order in:
Dynamic text: May 2023 (in Date Table created by DAX)
Dynamic count: 9211 (in Table 2)
Now I am trying an alternative way (but also failed), display the text and count in 2 different Card visual:
For Date card, a measure was created:
But when I select May, 2023, it was displaying 2023 instead of May2023.
Any advice is appreciatd.
H
Solved! Go to Solution.
@h_l , not very clear. But it should be like
SelectedMonthYear = SELECTEDVALUE('Date'[Month]) & "/" & SELECTEDVALUE('Date'[Year])
Hi @amitchandak , nice to get your reply again, you've provided great helps in the past.
It was almost done by using your advised DAX, however, it displays 5 2023 instead of May 2023.
I tried to Format the text, but after DAX updated, it always display Jan 2023, not selected month.
DAX:
SelectedMonthYear = FORMAT(SELECTEDVALUE('Date'[Month]),"MMM") & " " & SELECTEDVALUE('Date'[Year])
Could you help to give a little further advice?
Thanks.
H
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
63 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
82 | |
62 | |
45 | |
41 | |
40 |