Solved! Go to Solution.
Hi @Route11,
You could add below measure to card visual.
Measure = SELECTEDVALUE ( Table1[Year] ) & UNICHAR ( 10 ) & SELECTEDVALUE ( Table1[Category] )
Hi @Route11,
You could add below measure to card visual.
Measure = SELECTEDVALUE ( Table1[Year] ) & UNICHAR ( 10 ) & SELECTEDVALUE ( Table1[Category] )
You say to "add a measure" to the visualization but you don't say how to do it.
@v-yulgu-msft wrote:Hi @Route11,
You could add below measure to card visual.
Measure = SELECTEDVALUE ( Table1[Year] ) & UNICHAR ( 10 ) & SELECTEDVALUE ( Table1[Category] )Best regards,Yuliana Gu
Thank you. You made my day.
Thanks for the excellent feedback....can you explain what the UNICHAR (10) does so i can learn
Hi @Route11,
UNICHAR function returns the Unicode character referenced by the numeric value. unichar(10) returns a unicode in your measure, and it is recognised by a text. Here are some links for you to better understand its usage.
DAX UNICHAR Function in Power BI
Concatenate text with newlines in Power BI
Best regards,
Yuliana Gu
@Route11 not sure about the two lines of code but you can create measure to combine values from the slicers:
Selected Slicer Value = SELECTEDVALUE( Table1[Slicer1] ) & " " & SELECTEDVALUE( Table1[Slicer2] )
Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Worked perfectly, Thank you!!
Hi @Route11
I think you can create 2 Measures based on the slicer secltion and use them in Multirow card.
Measure1 = SELECTEDVALUE (Table1[Year])
Measur 2 = SELECTEDVALUE( Table1[Category]).
Place them in the Multirow card to get the desired result. You can do little bit of formatting like removing header etc.
Thanks
Raj
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!
User | Count |
---|---|
179 | |
67 | |
65 | |
57 | |
55 |
User | Count |
---|---|
184 | |
103 | |
89 | |
75 | |
72 |