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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
KLJ
Helper I
Helper I

Data from table in text measure

Hi

 

I have a measure with the following text:

 

"The value of goods on sea is " & SUM([goodsonsea])

And further down

"The value of goods in purchase orders is " & SUM([purchaseorders])

In between the two lines I would like to list the data from this table:

 

SupplierWeekCll
Supplier1 426
Supplier2425
Supplier1 445
Supplier2503
Supplier3424
Supplier4444

 

The text could be something like
"In week 42 we receive 6 cll from Supplier1 and 5 cll from supllier2 ect."

"In week 44 we receive 5 cll from Supplier1 and 4 cll from Supplier4 ect"

and so on.

 

I hope this give you an idea of what it is I'm looking for.

 

Hope you can help 🙂

Thank you.

 

 

1 ACCEPTED SOLUTION
v-qiuyu-msft
Community Support
Community Support

Hi @KLJ,

 

In Power BI desktop, you can create a calculated table below: 

 

Table = var temp= SUMMARIZE('Table1',Table1[Week],'Table1'[Supplier],"con",CONCATENATEX('Table1','Table1'[Cll],","))
return
ADDCOLUMNS(temp,"item",[con]&" cll from "& [Supplier])

 

Then create a measure: 

 

Measure 3 = var t=SUMMARIZE('Table','Table'[Week],"Detail",CONCATENATEX('Table','Table'[item]," and "))
return
CONCATENATEX(t,"In week " & [Week]& " we receive "&[Detail])

 

w6.PNG

 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-qiuyu-msft
Community Support
Community Support

Hi @KLJ,

 

In Power BI desktop, you can create a calculated table below: 

 

Table = var temp= SUMMARIZE('Table1',Table1[Week],'Table1'[Supplier],"con",CONCATENATEX('Table1','Table1'[Cll],","))
return
ADDCOLUMNS(temp,"item",[con]&" cll from "& [Supplier])

 

Then create a measure: 

 

Measure 3 = var t=SUMMARIZE('Table','Table'[Week],"Detail",CONCATENATEX('Table','Table'[item]," and "))
return
CONCATENATEX(t,"In week " & [Week]& " we receive "&[Detail])

 

w6.PNG

 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Qiuyun Yu

 

Thank you for the solution.

That did it 🙂

 

I have added UNICAR(10) at the end of 

Measure 3 = var t=SUMMARIZE('Table','Table'[Week],"Detail",CONCATENATEX('Table','Table'[item]," and "))
return 
CONCATENATEX(t,"In week " & [Week]& " we receive "&[Detail] & UNICHAR(10))

then it worked out exactly as I wanted. 🙂

 

Thanks again

Kim

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors