Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Paulyeo11
Impactful Individual
Impactful Individual

How to combine 3 field into 1 ?

Hi All

 

I have below target Table , may i know how to combine below field into 1 :-

SOURCE , 

date_t

GROUP_

 

Expected result :-

Link field consist of "SINGAPORE 1 January 2010 GROUP_"

 

Below link is my PBI file :-

https://www.dropbox.com/s/hpoyek0iy2a91ne/TARGET_V001.pbix?dl=0

 

My raw data :-

 

SOURCEdate_tGROUP_ ODSE_target_sales 
SINGAPORE1 January 2010G1                100,000.00
SINGAPORE1 February 2010G1                100,000.00
SINGAPORE1 March 2010G1                100,000.00
SINGAPORE1 April 2010G1                100,000.00
SINGAPORE1 May 2010G1                100,000.00
SINGAPORE6 June 2010G1                100,000.00
SINGAPORE1 July 2010G1                100,000.00
SINGAPORE1 August 2010G1                100,000.00
SINGAPORE1 September 2010G1                100,000.00
SINGAPORE1 October 2010G1                100,000.00
SINGAPORE1 November 2010G1                100,000.00
SINGAPORE1 December 2010G1                100,000.00
    
SINGAPORE1 January 2010G2                175,000.00
SINGAPORE1 February 2010G2                175,000.00
SINGAPORE1 March 2010G2                175,000.00
SINGAPORE1 April 2010G2                175,000.00
SINGAPORE1 May 2010G2                175,000.00
SINGAPORE6 June 2010G2                175,000.00
SINGAPORE1 July 2010G2                175,000.00
SINGAPORE1 August 2010G2                175,000.00
SINGAPORE1 September 2010G2                175,000.00
SINGAPORE1 October 2010G2                175,000.00
SINGAPORE1 November 2010G2                175,000.00
SINGAPORE1 December 2010G2                175,000.00
2 ACCEPTED SOLUTIONS

@Paulyeo11 

 

Change your initial DAX formula (not Power Query) to the following one:

 

 

Column = 'TARGET'[SOURCE] & FORMAT('TARGET'[date_t], "DD MMMM YYYY") & 'TARGET'[GROUP_]

 

  

View solution in original post

Hi @Paulyeo11 

I used the GUI -> Add Column -> Custom Column

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

13 REPLIES 13

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.