cancel
Showing results for 
Search instead for 
Did you mean: 
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
Microsoft
Microsoft

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
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors