Forum Discussion
Anonymous
1 year agoNot applicable
write DAX
hi Friends i have two tables 1st table i have only one lineitem it contains siteURL column : https://eu028-sp.hll.com/sites/CPOAA1089/ooty download URL column : /_layouts/download.aspx?SourceUr...
- 1 year ago
Hello Anonymous,
Can you please try this approach:
NewColumn = VAR SiteURL = FIRSTNONBLANK( Table1[siteURL], Table1[siteURL] ) VAR DownloadURL = FIRSTNONBLANK( Table1[download URL], Table1[download URL] ) RETURN IF( ISBLANK( Table2[attachments] ) || Table2[attachments] = "", BLANK(), SiteURL & DownloadURL & "SourceUrl=" & SiteURL & Table2[attachments] )
Sahir_Maharaj
Super User
1 year agoHello Anonymous,
Can you please try this approach:
NewColumn =
VAR SiteURL = FIRSTNONBLANK( Table1[siteURL], Table1[siteURL] )
VAR DownloadURL = FIRSTNONBLANK( Table1[download URL], Table1[download URL] )
RETURN
IF(
ISBLANK( Table2[attachments] ) || Table2[attachments] = "",
BLANK(),
SiteURL & DownloadURL & "SourceUrl=" & SiteURL & Table2[attachments]
)
- Anonymous1 year agoNot applicable
but it was creating duplicate id's.