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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
qwaiti27231
Helper III
Helper III

Need Help In Invoice

1. Automated Invoice ID Generator FOr eg :

LOL-BOB201800040

 and so on LOL-BOB201800041...................

2.I want to turn number into words 

   555.55

Solution

Five Hundred Fifty Five Dollars and fifty five cents

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @qwaiti27231,

 

For the 1st question, we can create calculated table and columns as below.

 

Table = GENERATESERIES(201800040,201800200,1)
Column = "LOL-BOB"
Invoice ID = CONCATENATE('Table'[Column],'Table'[Value])
For the 2cd question, it could not be done by DAX currently. You can work that by pyhton to work aroud. Please check the bolg to work on that.
 
 

Or using the formula to create a calculated column is another close way.

 

Column = FORMAT(Table1[number],"Currency")

Capture.PNG

 

For more details ,please check the pbix as attached.

 

Regards,

Frank

 

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

For that 2nd question can u show me how to do it python ???

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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