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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors