Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All,
I have 2 WHOLE NUMBER COLUMN LIKE A and B. I want To Create another TEXT COLUMN Like THIS: A/B
So if
A B A/B
1 3 1/3
4 6 4/6
A/B should return TEXT VALUE as above
Thanks
Deepak
Solved! Go to Solution.
Hi @drrai66
I would go into the Power Query Editor, then click on Add Column in the Ribbon.
Then click on Custom Column and put in the following code below.
NOTE: This will work as long as your columns A and B are set to a data type of Whole Number
Text.From([A]) & "/" & Text.From([B])
Which then has the following result.
Hi @drrai66,
You can use below dax formula to achieve the desired result.
A/B = Data[A] & "/" & Data[B]
Thanks,
Rahul
Hi @drrai66,
You can use below dax formula to achieve the desired result.
A/B = Data[A] & "/" & Data[B]
Thanks,
Rahul
Hi @drrai66
I would go into the Power Query Editor, then click on Add Column in the Ribbon.
Then click on Custom Column and put in the following code below.
NOTE: This will work as long as your columns A and B are set to a data type of Whole Number
Text.From([A]) & "/" & Text.From([B])
Which then has the following result.
Worked Perfectly!!!
Actually you showed me a way. I did like this
Column =[A] & "/" & [B]
Thnaks
Deepak
User | Count |
---|---|
77 | |
75 | |
46 | |
31 | |
28 |
User | Count |
---|---|
99 | |
93 | |
50 | |
49 | |
46 |