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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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 Employee
Microsoft 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors