Dear All,
I am fresh people for Power apps.
Data source is onedrive excle,import to formviewer in power apps as below. But how to convert the data type?
1.End of work Day change to short date MM/dd/yyyy
2.How to add thousands separator for Number
3.How to change 0.07 to 7%
Solved! Go to Solution.
Sorry forgot about Your number issue here :
Text(Parent.Default, "0,000" )
Hi @Sophiegong
Unlock Your DataCard and click the text box with the value. You looking to Format this control. There should be Default Property and inside expression Parent.Default.
You need to wrap it in Text() Function now for date:
Text(Parent.Default,"dd-mm-yyyy")
I hope You mean 0.07 should be 0.07% but if You need to show 7% You need to multiple it by 100 and format it to % as below but if it should be 0.07% remove the 100 multiplayer and additional brackets
Text((Parent.Default)*100,"0%")
Hope this helps
Sorry forgot about Your number issue here :
Text(Parent.Default, "0,000" )
It is really strange that the percentage is works, but date and number are not.
Text(DateTimeValue(Parent.Default),DateTimeFormat.ShortDate)
Finally I use this expression to get correct date format.
Dear,I got another error for date format in datatable, when the Datasource is blank,there will be error display in datatable.Do you have any idea for that?
If(IsBlank(ThisItem.'Posting Date'),"",Text((ThisItem.'Posting Date'),ShortDate))
If(IsBlank(ThisItem.'Posting Date') || IsEmpty(ThisItem.'Posting Date'),IsBlank(),Text((ThisItem.'Posting Date'),ShortDate))
But You need to handle this on input if the error exist in the row isBlank() will not help
User | Count |
---|---|
256 | |
106 | |
97 | |
51 | |
39 |