Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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
Solved! Go to 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]) ) )
@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.
Hi Amit
Impossible to share data this time - sorry...
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]) ) )
User | Count |
---|---|
93 | |
83 | |
77 | |
72 | |
66 |
User | Count |
---|---|
114 | |
101 | |
96 | |
65 | |
60 |