Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi Team,
After lookupvalue with both tables i need to remove the blank rows its possible.
Crt_Name = LOOKUPVALUE(
Crt_Name[Correct_Name],Crt_Name[Created By],ZMM[Created By]
)
Thanks
Jawahar
Solved! Go to Solution.
@JawaharPrem6 if you want to delete blank rows after LOOKUPVALUE, you need to create a derived table that would not have BLANK Rows. You would not be able to utilize LOOKUPVALUE on the same table and have it filtered as well. But you can create a derived/calculated table like this
FILTER(ADDCOLUMNS(ZMM,"Crt_Name", LOOKUPVALUE(Crt_Name[Correct_Name],Crt_Name[Created By],ZMM[Created By])),[Crt_Name]<>BLANK())
However, LOOKUPVALUE has severe performance implication. I would do it this way
GENERATE(ZMM,SELECTCOLUMNS(FILTER(Crt_Name,Crt_Name[Created By]=ZMM[Created By]),Crt_Name[Correct_Name]))
@JawaharPrem6 if you want to delete blank rows after LOOKUPVALUE, you need to create a derived table that would not have BLANK Rows. You would not be able to utilize LOOKUPVALUE on the same table and have it filtered as well. But you can create a derived/calculated table like this
FILTER(ADDCOLUMNS(ZMM,"Crt_Name", LOOKUPVALUE(Crt_Name[Correct_Name],Crt_Name[Created By],ZMM[Created By])),[Crt_Name]<>BLANK())
However, LOOKUPVALUE has severe performance implication. I would do it this way
GENERATE(ZMM,SELECTCOLUMNS(FILTER(Crt_Name,Crt_Name[Created By]=ZMM[Created By]),Crt_Name[Correct_Name]))
Is this a Power Query or DAX question?
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
18 | |
10 | |
9 | |
9 | |
8 |
User | Count |
---|---|
23 | |
16 | |
14 | |
12 | |
12 |