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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.