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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
mapko
Helper I
Helper I

DAX measure issue

All,

 

Please see attached an example of my reporting data model.

 

On the front end I have Country as a filter and would like to derive some key stats;

* number of assigned licenses

* number of users trained

* number of event

* etc

 

I am having trouble getting the number of event in which a selected Country partcipated correct. For most of the other measures I used USERELATIONSHIP function, which produces correct results.

 

So for example I would like to have the following insight:

 

For Country A there were XX number of licenses assigned. There were in total XX participants, which were part of XX events.

 

Can anyone please give me an idea how to get the number of events working based on Country selection?

 

Thank you

Mdax.png

 

1 REPLY 1
v-caliao-msft
Employee
Employee

Hi mapko,

 

Could you please post the formula you used? Do you get an incorrect result?

 

Generally, if you have proper relationship in your data model, it will re calculate the measure after a item is selected in slicer. So could you please provide us more detail information, so that we can make further analysis.

 

Regards,

Charlie Liao

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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