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
Hi experts,
Plz suggest way to copy value from a row, below example data,
there are 3 type of datas being maintained in same table,
1. right side last column is i Need from "Location"
2. 2nd Row is linked with 1st row having unique id between "Survey response master" with "Id"
3. 3rd Row is linked with 1st row having unique id between "Survey bucket" and "Id"
Id | Name | RecordTypeId | DateOfSubmission | Location | SurveyBucket | SurveyResponseMaster | MasterResponseId | Column Needed |
a8H4J0000008Vm4UAE | SR-177442 | 0122X000000Arb7QAC | 30-06-20 16:42 | a8F0L000000Go6WUAS | a8F0L000000Go6WUAS | |||
a8H4J0000008Vm8UAE | SR-177448 | 0122X000000Arb6QAC | 30-06-20 16:42 | a8H4J0000008Vm4UAE | a8F0L000000Go6WUAS | |||
a8H4J0000008VmQUAU | SR-177464 | 0122X000000Arb5QAC | 30-06-20 16:42 | a8H4J0000008Vm8UAE | a8H4J0000008Vm4 | a8F0L000000Go6WUAS |
Solved! Go to Solution.
Hi @asifkarimindia ,
You may go to Query Editor, go to Add column -> Index column, create an index column (start from 1 ), click "Close & Apply" button. Then create column like DAX below.
Column Needed = VAR _FirstRowLocation= MAXX( FILTER( 'Table', 'Table'[Index]=1), [Location])
RETURN
IF(COUNTROWS('Table')=1, 'Table'[Location], IF( OR (SEARCH('Table'[MasterResponseId], 'Table'[Id],, -1), SEARCH('Table'[SurveyResponseMaster], 'Table'[Id],, -1) ) ,_FirstRowLocation , BLANK()))
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @asifkarimindia ,
You may go to Query Editor, go to Add column -> Index column, create an index column (start from 1 ), click "Close & Apply" button. Then create column like DAX below.
Column Needed = VAR _FirstRowLocation= MAXX( FILTER( 'Table', 'Table'[Index]=1), [Location])
RETURN
IF(COUNTROWS('Table')=1, 'Table'[Location], IF( OR (SEARCH('Table'[MasterResponseId], 'Table'[Id],, -1), SEARCH('Table'[SurveyResponseMaster], 'Table'[Id],, -1) ) ,_FirstRowLocation , BLANK()))
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@asifkarimindia , You can copy data across rows using earlier, I am not able to get logic with your description. Can you explain with example
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 |
---|---|
133 | |
91 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
73 | |
68 |