Hey Guys 'n Galz,
Im sitting here pulling out my hair as I dont quite know the correct formula command to use for my second check. Please can you assist me in findng a solution.
I've created an app which relies on two CDS entities (Pulse Check Questions & Pulse Check Responses). I would like my next button to perform two checks before proceeding to one of two pages available. Check 1 is to ensure all the necessary responses have been captured. Check 2 is to check the CDS entity (Pulse Check Responses) to see if the user has previously captured data, thus directing them to the KPI Update screen, if the user has never captured data I would like to direct them to the KPI Input screen instead. Below please find my formula thus far.
If(Or(PC_Dropdown1.Selected.Value="Blank",PC_Dropdown2.Selected.Value="Blank",PC_Dropdown3.Selected.Value="Blank",PC_Dropdown4.Selected.Value="Blank",PC_Dropdown5.Selected.Value="Blank",PC_Dropdown6.Selected.Value="Blank",PC_Dropdown7.Selected.Value="Blank",PC_Dropdown8.Selected.Value="Blank",PC_Dropdown9.Selected.Value="Blank",PC_Dropdown10.Selected.Value="Blank",PC_Dropdown11.Selected.Value="Blank",PC_Dropdown12.Selected.Value="Blank",PC_Dropdown13.Selected.Value="Blank",PC_Dropdown14.Selected.Value="Blank",PC_Dropdown15.Selected.Value="Blank"),UpdateContext({PC_Error1:true}),If(LookUp('Pulse Check Survey Responses',Username=User().FullName,'Pulse Check Survey Responses'),Navigate('KPI Update',ScreenTransition.Fade),Navigate('KPI Input',ScreenTransition.Fade)
Regards
Ziggy-80