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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Incorrect Percentages for Totals in Tooltips

Hi Experts

 

I am getting the correct values for the Occpancy and Current Superstranded in my tool tip for all cells other then the column totals - which are showing Occpancy at 3.47 = 347 percentage...

 

is there a why to correct this in the tool tip..

Measure used in tool tip

OccupancyPercent = (Occupancy[OccupancySum.]) / (Occupancy[AvailableBedsMonth] * Occupancy[DayCount])
the answer should be about 0.97 = 97%

Checkers111_0-1664874391579.png

 

 

 

1 ACCEPTED SOLUTION

@Anonymous , Multiplication should always use a group by or need to be done at row level

 

OccupancyPercent = divide( (Occupancy[OccupancySum.]) ,Sumx( Occupancy,  (Occupancy[AvailableBedsMonth] * Occupancy[DayCount]) )

 

 

OccupancyPercent = divide( (Occupancy[OccupancySum.]) ,Sumx( values(Occupancy[ID]) , calculate(Occupancy[AvailableBedsMonth] * Occupancy[DayCount]) ) )

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@Anonymous , these are measures or columns?
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

Anonymous
Not applicable

Hi Amit

Impossible to share data this time - sorry...

Anonymous
Not applicable

measures

@Anonymous , Multiplication should always use a group by or need to be done at row level

 

OccupancyPercent = divide( (Occupancy[OccupancySum.]) ,Sumx( Occupancy,  (Occupancy[AvailableBedsMonth] * Occupancy[DayCount]) )

 

 

OccupancyPercent = divide( (Occupancy[OccupancySum.]) ,Sumx( values(Occupancy[ID]) , calculate(Occupancy[AvailableBedsMonth] * Occupancy[DayCount]) ) )

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.