Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi Experts
Need to amend the following calculated column measure to ignore where we have a empty cell in Uploaded column in the table
Solved! Go to Solution.
@Anonymous
One way to handle this is to use an IF statement to check for blank cells. Try something like:
Period =
VAR p=IF ( ISBLANK[Uploaded]=TRUE(), 0, find("P",'Table'[Uploaded],1))
return
IF(ISBLANK[Uploaded]=TRUE(),"P0", MID('Table'[Uploaded],p+1,100)*1
I am not perfect at writing syntax on the fly, so some adjustments might be necessary. But I hope this points you in the right direction.
Good Luck and Regards,
Try this
Period =
VAR p=find("P",'Table'[Uploaded],1)
return If('Table'[Uploaded]<>blank(), MID('Table'[Uploaded],p+1,100)*1))
@Anonymous
One way to handle this is to use an IF statement to check for blank cells. Try something like:
Period =
VAR p=IF ( ISBLANK[Uploaded]=TRUE(), 0, find("P",'Table'[Uploaded],1))
return
IF(ISBLANK[Uploaded]=TRUE(),"P0", MID('Table'[Uploaded],p+1,100)*1
I am not perfect at writing syntax on the fly, so some adjustments might be necessary. But I hope this points you in the right direction.
Good Luck and Regards,
User | Count |
---|---|
98 | |
91 | |
84 | |
72 | |
67 |
User | Count |
---|---|
114 | |
103 | |
100 | |
72 | |
64 |