cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Microsoft
Microsoft

Re: How can I get a measure which multiplies columns from several related tables?

Hi @Christann,

You could try this measure:

Measure = CALCULATE(COUNT(RoomAssignment[RateCode]),FILTER('RoomAssignment','RoomAssignment'[RateCode]=MAX('RoomRates'[RateCode])))*CALCULATE(SUM(RoomRates[Rate]))

Result:

2.PNG

You can also download the PBIX file to have a view.

https://www.dropbox.com/s/u8e34tqk4zei965/How%20can%20I%20get%20a%20measure%20which%20multiplies%20c...

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Solution Specialist
Solution Specialist

Re: How can I get a measure which multiplies columns from several related tables?

@Christann Instead of distinctcount just use count. 

View solution in original post

Helpful resources

Announcements
Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors