Forum Discussion
DRJ1994
2 years agoHelper I
Division issue and circular dependancy error
Hi all, I have run into a series of errors on a dashboard I am trying to produce. I am trying to work out the occupancy rate of a small block of flats. I have the below visual: The ...
amitchandak
2 years agoSuper User
DRJ1994, Seem like you are using one measure and one column.
Create a new measure using both measures
Aggregate the column in numerator
DRJ1994
2 years agoHelper I
Thanks, sorry could you explain a bit more what you mean please?
- amitchandak2 years agoSuper User
DRJ1994 , To me seems like Days in service is column
So new measures will be
Occupany Rate = Divide(Sum(Customer Tracker [Daystaservice]), [Possible Bed Days],0)
- DRJ19942 years agoHelper I
Thanks, I have tried the query as follows:
Occupancy Rate = DIVIDE(SUM('Customer Tracker'[DaysInService],([Possible Bed Days]),0))
I am now getting the error "Too Many arguments were passed to the sum function, the maximum argument is 1"- Anonymous2 years agoNot applicable
Hi DRJ1994 ,
Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng