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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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