Hi I am just a newbie to PowerApps but have done some excel previously I have checked and checked but cant work out why I am getting Invalid number of arguements recieved 1 expecting 2 or more......
I am checking the 'Cal Due' date to today and changing the fill colour of a label depending if its > 30 days, 1-30 days, 0 days or < Today (Overdue)
If(IsBlank(ThisItem.'Cal Due'),RGBA(232,244,217,1),If(DateDiff(Today(),ThisItem.'Cal Due',Days) > 30),RGBA(232,244,217,1),If(30 > DateDiff(Today(),ThisItem.'Cal Due',Days)) > 0,RGBA(255, 255, 0, 0.42),If(DateDiff(Today(),ThisItem.'Cal Due',Days))=0,RGBA(204, 231, 246, 1),RGBA(238,204,204,1))
Thanks for any help