Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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
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])
Or using the formula to create a calculated column is another close way.
Column = FORMAT(Table1[number],"Currency")
For more details ,please check the pbix as attached.
Regards,
Frank
For that 2nd question can u show me how to do it python ???
| User | Count |
|---|---|
| 50 | |
| 41 | |
| 32 | |
| 14 | |
| 13 |
| User | Count |
|---|---|
| 84 | |
| 72 | |
| 37 | |
| 27 | |
| 24 |