The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Solved! Go to Solution.
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"
)
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.
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"
)
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.
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.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
99 | |
93 | |
81 | |
63 | |
56 |
User | Count |
---|---|
247 | |
122 | |
110 | |
77 | |
72 |