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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jackypatel
Helper I
Helper I

By default Selection

I have one "Vendor List". It is connected with My "PDI DASHBOARD" file. See the Below Image

jackypatel_0-1700129870076.png          jackypatel_1-1700130087913.png

 

 

In vendor List every Month, new Vendor is added. So i have to add Manualy Vendor name & Mention is type (Strategic or Non Strategic). 

My Question is - If new venor is added, than this type will be "Non Strategic" by default. 

 

Plz helm me for the same. 

 

3 REPLIES 3
AmiraBedh
Super User
Super User

Using PowerQuery :

  • Click on Add Column in the menu.
  • Choose Custom Column.
  • In the formula, write something like: if [VendorType] = null then "Non Strategic" else [VendorType]. This formula assumes that the column where you specify the vendor type is named 'VendorType'

Using DAX :

Create a Calculated Column:

  • Go to the Data view.
  • Right-click on your table and select New column.
  • Your calculated column syntax: VendorType = IF(ISBLANK([VendorType]), "Non Strategic", [VendorType]).

Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

Not working, Beacause Vendor Name is not there. So how its select his Vendor type.

 

In simple way-- My total Number of Vendor is 50 At present & Next month 2 Vendor is added than Vendor is 52. How it select Other 2 vendor name for his Vendor type.

 

Kindly guide me. 

 

Anonymous
Not applicable

Hi @jackypatel ,

Since you have created the relationship between the table 'Vendor List' and 'PDI' base on the field [Vendor], you can create a table visual with the below Fields settings to get it:

vyiruanmsft_0-1700537131281.png

Best Regards

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.