Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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" )
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" )
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
19 | |
17 | |
12 | |
9 | |
9 |