Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
I have a table name called Local sheet . this table have three column Item,itemcode,
Item Itemcode weigh[g]
Shipping case FW002306.01 45
Square TIN BODY FW002306.01 54
Tin Lid FW002306.01 67
Tin Tape FW002306.01 89
Membrane TOP FW002306.01
Shipping case FW002306.51 85
Square TIN BODY FW002306.51 34
Tin Lid FW002306.51 77
Tin Tape FW002306.51 89
Membrane TOP FW002306.51 34
I am creating new column if any weigh[g] column have a null value based Item column it will alert show WARNING or else AVAILABLE .
Itemcode Alert
FW002306.01 WARNING --- becaseue for this itemcode Membrane TOP item have blank so it will be warning.
FW002306.51 AVAILABLE -- becaseue for this itemcode all the row have a weigh[g] value.
i am trying the below measure but it is not working
looking for support .. thanks in advance ..
Solved! Go to Solution.
Hi,
I assume you want to create a new column in the table.
Please check the below picture and the attached pbix file.
New Column CC =
VAR _weightblankcount =
COUNTROWS (
FILTER (
'Local sheet',
'Local sheet'[Itemcode] = EARLIER ( 'Local sheet'[Itemcode] )
&& 'Local sheet'[weigh[g]]] = BLANK ()
)
)
RETURN
IF ( _weightblankcount >= 1, "Warning", "Available" )
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
I assume you want to create a new column in the table.
Please check the below picture and the attached pbix file.
New Column CC =
VAR _weightblankcount =
COUNTROWS (
FILTER (
'Local sheet',
'Local sheet'[Itemcode] = EARLIER ( 'Local sheet'[Itemcode] )
&& 'Local sheet'[weigh[g]]] = BLANK ()
)
)
RETURN
IF ( _weightblankcount >= 1, "Warning", "Available" )
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.