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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Enter Values in the "New Column"

Hi Power BI Community,

I have created "New Table" and get data from other tables in it
Now I want to add "New Column"= Category and want to put values manually
Like "Page view", "Articles Published" and so on
What type of DAX/Query should I use in "Cater

I can't operate in edit Query as I made new table

Kindly guide me

Thank you
dawoodrana99_0-1661869163423.png

 

1 ACCEPTED SOLUTION
v-yadongf-msft
Community Support
Community Support

Hi @Anonymous ,

If you want to enter data manually, please try the SWITCH function:

Category = SWITCH(
    TRUE(),
    'Tabelle1'[Total] = 65,"Page view",
    'Tabelle1'[Total]=549,"Page view",
    'Tabelle1'[Total]=694,"Page view",
    'Tabelle1'[Total]=1593,"Articles Published",
    'Tabelle1'[Total]=2352,"Articles Published"
    )

vyadongfmsft_0-1662340635484.png

 

This method may be a bit cumbersome, but it does allow you to achieve the need for manual data entry.

 

Best regards,

Yadong Fang

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

2 REPLIES 2
v-yadongf-msft
Community Support
Community Support

Hi @Anonymous ,

If you want to enter data manually, please try the SWITCH function:

Category = SWITCH(
    TRUE(),
    'Tabelle1'[Total] = 65,"Page view",
    'Tabelle1'[Total]=549,"Page view",
    'Tabelle1'[Total]=694,"Page view",
    'Tabelle1'[Total]=1593,"Articles Published",
    'Tabelle1'[Total]=2352,"Articles Published"
    )

vyadongfmsft_0-1662340635484.png

 

This method may be a bit cumbersome, but it does allow you to achieve the need for manual data entry.

 

Best regards,

Yadong Fang

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

davehus
Memorable Member
Memorable Member

Hi @Anonymous , I don't think you can achieve what you are looking for in this way. You might be able to do something with a write back visual or a powerapp or maybe and if statement but not a straightforward manual entry.

 

Did I help you today? Please accept my solution and hit the Kudos button.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.