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
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
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.