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
Jtischler
Helper I
Helper I

Card Value not changing based on slicer selection

Hoping @amitchandak may be able to help!

 

I have a card that should reflect a unique count of users in table Facts1.  I have a bridgetable 'Region' with 1 to many to Facts1 and Facts 2.  Facts2 relates to Facts 1 with 1 to Many Unique ID.

 

Requirement - Region Slicer should change the user count from Facts1 based on region selected.

 

I have set up a measure to collect slicer value as well as another to attribute '1' to region selected in Facts 1 and used as visual filter

 

In table view this works perfectly, so I know formulas/measures are right.  However when I switch to card view, the number displayed does not change at all? 

 

What am I missing?

 

Measure 1:  

SlcRegion = SELECTEDVALUE('Region Main'[Region])
 
Measure 2:
SelRegion =
var _sel = [SlcRegion]
var _Reg = MAX('New Dashboard'[Region])
Return
If(CONTAINSSTRING(_Reg,_sel),1,0)
 
Jtischler_0-1680190791335.pngJtischler_1-1680190818151.png

 

 

 

1 REPLY 1
v-yiruan-msft
Community Support
Community Support

Hi @Jtischler ,

You can create a measure as below and put this new measure onto the visual to replace the measure [SelRegion] onto the card visual. Please find the details in the attachment.

 

Measure = SUMX ( VALUES ( 'New Dashboard'[User unique ID] ), [SelRegion] )

vyiruanmsft_0-1681197329592.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.

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!

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.