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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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