Hi
Im struggling with trying to put the below into a query.
Heres it in English
Non Loss KWH: =IIf([MPRN]='81590699485'
Or [MPRN]='81427150661'
Or [MPRN]='81325023880'
Or [MPRN]='81108542280'
Or [MPRN]='81077371778'
Or [MPRN]='81073326511'
Or [MPRN]='81046871830' equals UOM_Code KWH and RegisterTypeCode = ‘ES’ or ‘IS’ then show Non-Loss
But if [MPRN]=81007282654 equals UOM_Code KWH and RegisterTypeCode = ‘ES’ and not ‘IS’ then show Non-Loss for the ‘ES’ figures
But if [MPRN]=81007282654 equals UOM_Code KWH and RegisterTypeCode = ‘IS’ and not ‘ES’ then show Non-Loss for the ‘IS’ figures
Basicly the above on MPRN 81007282654 is the same but i need seperate answers as one is for Import and the other is for Export
hope this makes sence
Any help would be of great help
Im struggling with trying to put the below into a query.
Heres it in English
Non Loss KWH: =IIf([MPRN]='81590699485'
Or [MPRN]='81427150661'
Or [MPRN]='81325023880'
Or [MPRN]='81108542280'
Or [MPRN]='81077371778'
Or [MPRN]='81073326511'
Or [MPRN]='81046871830' equals UOM_Code KWH and RegisterTypeCode = ‘ES’ or ‘IS’ then show Non-Loss
But if [MPRN]=81007282654 equals UOM_Code KWH and RegisterTypeCode = ‘ES’ and not ‘IS’ then show Non-Loss for the ‘ES’ figures
But if [MPRN]=81007282654 equals UOM_Code KWH and RegisterTypeCode = ‘IS’ and not ‘ES’ then show Non-Loss for the ‘IS’ figures
Basicly the above on MPRN 81007282654 is the same but i need seperate answers as one is for Import and the other is for Export
hope this makes sence
Any help would be of great help