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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
IF
Post Prodigy
Post Prodigy

Dynamic card values in the same page

Hi,

 

I want to show card figures based on the slicer selections. I have slicer1 for month selection and slicer2 for the type selection. Based on the selection, the cards should show the category type, value1, and value2.

25.jpg

My example data is:

TYPECategoryValue1Value2MMYYYYDate
AM1121101.20191/1/2019
AM11211.201911/1/2019
AM1232103.20193/1/2019
AM2111001.20191/1/2019
AM21111.201911/1/2019
AM2222203.20193/1/2019
BM1222101.20191/1/2019
BM13211.201911/1/2019
BM1242503.20193/1/2019
BM3111101.20191/1/2019
BM32211.201911/1/2019
BM3222403.20193/1/2019
CM4151501.20191/1/2019
CM44311.201911/1/2019
CM4232503.20193/1/2019
CM3121101.20191/1/2019
CM33211.201911/1/2019
CM3222003.20193/1/2019

 

I have a month table and type table to use at the slicers:

MMYYYYDate
01.20191/1/2019
11.201911/1/2019
03.20193/1/2019

 

TYPE
A
B
C

The link for the file is (in case of need):

https://www.dropbox.com/s/nn0n72iu5ggwc0a/Question%20dynamic%20card%20values.pbix?dl=0 

Thank you very much in advance!

 

1 ACCEPTED SOLUTION
v-kkf-msft
Community Support
Community Support

Hi @IF ,

 

Please try the following measures:

 

ConcatenateValue = 
CONCATENATEX (
    'Data',
    SELECTEDVALUE ( Data[Category] ) & " " 
        & "Value1: " & SELECTEDVALUE ( Data[Value1] ) 
            & " Value2: " & SELECTEDVALUE ( Data[Value2] )
)
Measure = 
CONCATENATEX (
    ALLSELECTED ( Data[Category] ),
    [ConcatenateValue],
    UNICHAR ( 10 )
)

vkkfmsft_0-1633411685137.png  vkkfmsft_1-1633411716323.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

2 REPLIES 2
v-kkf-msft
Community Support
Community Support

Hi @IF ,

 

Please try the following measures:

 

ConcatenateValue = 
CONCATENATEX (
    'Data',
    SELECTEDVALUE ( Data[Category] ) & " " 
        & "Value1: " & SELECTEDVALUE ( Data[Value1] ) 
            & " Value2: " & SELECTEDVALUE ( Data[Value2] )
)
Measure = 
CONCATENATEX (
    ALLSELECTED ( Data[Category] ),
    [ConcatenateValue],
    UNICHAR ( 10 )
)

vkkfmsft_0-1633411685137.png  vkkfmsft_1-1633411716323.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

amitchandak
Super User
Super User

@IF , Not very clear. But one of these two should help

 

How Interactions Work- Split Page using interactions to compare: https://youtu.be/GIfRKzhMaR4

 

How to use two Date/Period slicers :https://www.youtube.com/watch?v=WSeZr_-MiTg

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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