March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have table NOWODS_O_NOW_TASK_TASK, which contains a hash value on column a, where the readable value is in table NOWODS_O_NOW_SYGP_USER_GROUP on column b, . I have a straight join (1 to 1) and would like that in my power query for the NOWODS_O_NOW_TASK_TASK query to have column b show up next to column a in my query so I can use its group name value rather than the hash value. Below is my Advanced Editor for this query existing. How do I get this column B into my query below with the existing relationship? This is probably very beginner type of things, but I am new to some functionality within Power Bi.
let
Source = Sql.Database("dbserver", "db"),
NOWODS_O_NOW_TASK_TASK = Source{[Schema="SchemaName",Item="O_NOW_TASK_TASK"]}[Data],
#"Filtered Rows" = Table.SelectRows(NOWODS_O_NOW_TASK_TASK, each Text.StartsWith([NOW_TASK_B_TASK_NBR], "SER") or Text.StartsWith([NOW_TASK_B_TASK_NBR], "RTASK"))
in
#"Filtered Rows"
Solved! Go to Solution.
Hi @MattAdams,
Is there any reason that you have to add the column with Power Query? If using DAX is also ok, you should be able to simply use the formula below to add a new calculate column in table NOWODS_O_NOW_TASK_TASK under Modeling tab.
column b = RELATED ( NOWODS_O_NOW_SYGP_USER_GROUP[column b] )
Regards
Hi @MattAdams,
Is there any reason that you have to add the column with Power Query? If using DAX is also ok, you should be able to simply use the formula below to add a new calculate column in table NOWODS_O_NOW_TASK_TASK under Modeling tab.
column b = RELATED ( NOWODS_O_NOW_SYGP_USER_GROUP[column b] )
Regards
@v-ljerr-msft you solved it with DAX, but I find using power query is easier for me to manipulate columns. After adding the column in DAX, I can't go into Edit Queries and reference that column. I would like to go into Edit Queries and that column from NOWODS_O_NOW_SYGP_USER_GROUP table be alongside NOWODS_O_NOW_TASK_TASK. How can I do this? Your help is immensely appreciated.
I was able to do this successfully by the following the blog post below. Very helpful.
http://radacad.com/how-to-change-joining-types-in-power-bi-and-power-query
I will try it! No, no power query requirement. Thanks! Will report back.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |