Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Warning alert in new column if any column value missing

I am using single table for mulitple Graph .Check is all items are present in th table. This means that if any item is missing vs reference table, tool should show a “Warning” in new column in                

Summay Table 

  Item                BOM              Height              Weight            Volume 

FW001              Pack               450                                            234  

 

FW002              Pack               450                    344                  234  

 

FW003              Pack                                        344                  234    

 

For Example :

  Item                BOM              Height              Weight            Volume      alert 

FW001              Pack               450                                            234           Warning

 

FW002              Pack               450                    344                  234          Avaialbe   

 

FW003              Pack                                        344                  234           Warning

 

Any Idea .. looking for support . Thanks in advance 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @Anonymous ,

Here are the steps you can follow:

1. Go to Power query – Conditional Column.

vyangliumsft_0-1655862969078.png

2. Select Add Clause - add each column to it.

Operator – equals

Value -- null

Output -- Warning

Else -- Avaialbe

vyangliumsft_1-1655862969083.png

3. Result:

vyangliumsft_2-1655862969084.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

9 REPLIES 9
Anonymous
Not applicable

Hi  @Anonymous ,

Here are the steps you can follow:

1. Go to Power query – Conditional Column.

vyangliumsft_0-1655862969078.png

2. Select Add Clause - add each column to it.

Operator – equals

Value -- null

Output -- Warning

Else -- Avaialbe

vyangliumsft_1-1655862969083.png

3. Result:

vyangliumsft_2-1655862969084.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

CNENFRNL
Community Champion
Community Champion

Always resort to PQ when it comes to row-oriented processing.

let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45Wcgs3MDBU0lEKSEzOBlImpgZAEoiMjE2UYnUg8kbo8sYmJmhKjBFKUOVjAQ==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Item = _t, BOM = _t, Height = _t, Weight = _t, Volume = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Item", type text}, {"BOM", type text}, {"Height", Int64.Type}, {"Weight", Int64.Type}, {"Volume", Int64.Type}}),
    Flagged = Table.AddColumn(#"Changed Type", "Flag", each if List.Contains(Record.ToList(_), null) then "Available" else "Warning")
in
    Flagged

CNENFRNL_0-1655470766643.png


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

DimaMD
Solution Sage
Solution Sage

Hi, @Anonymous  Try it
Screenshot_20.jpg

Maybe there are more conditions?


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com
Anonymous
Not applicable

@DimaMD  How to add multiple value for above Measure . i am trying to add two more column value above Dax . but i am getting  error 

Hi @Anonymous Please provide a sample of the data


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com
Anonymous
Not applicable

 

@DimaMD  please find the below  Sample of Data PBIX d file .

 

Sample PBIX file 

 

Thank you..

@Anonymous What columns do you want to be in the condition?


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com
Anonymous
Not applicable

@DimaMD  for  all the column . if any column value missing   its  should warning and if all column value available its showing available  alert 

@Anonymous  Try it,  if you missed the column try to add yourself.

alert = 
IF(
    AND(OR(
    [2D - Dimension 1 - Length [mm]] (Technical Drawing Details)] &&
    [2D - Dimension 2 - Width [mm]] (Technical Drawing Details)] <> BLANK(),
    [Area [cm2]] (Technical Drawing Details)] &&
    [BOM Number] <> BLANK()), [Cut-Off Length] && [Grammage [g/m2]] (from base mat./ TS)] && [Height (mm) (Shipping Case Details)] && [Weight [g]]] <> BLANK()), 
    "Available","Warning")

 


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.