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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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