Unusual decimal value in the report visuals and tables - powerbi

I have a column with data type any as it contains different values (numeric, text, decimal, etc.)
In the power bi desktop, a value in a row is shown as 5.1 which is fine according to the data source.
But when I open it in the Power Query Editor and select this value in the table, it shows 5.0999999999999996 in the window below the table. And this same value is then reflected in the power bi report visuals and tables.
I reentered the same value in the data source and removed formatting but it still shows this long number in the report visuals instead of 5.1.
Any idea what is wrong here?
Thanks in advance

Related

Totals in table visual is not shown in power BI

I'm using powerbi desktop version and I've added a measure as a column in the table visual.
Enabled totals as well but unfortunately I'm not able to see the total value of that particular column to be displayed.
The same table contains several other measures for which the total appears but not for one particular column. This has data type decimal number.
Any suggestions?
TIA!!!

Power BI Errors Showing Up For Values That No Longer Exist

I made some changes to my dataset in Power BI via the Power Query Editor.
I went to close the editor and apply my changes to the data.
I get "Query Errors" that appear, despite having handled the records. I've confirmed the error does not appear in any other columns.
When I go to apply the changes, the errors still appear.
Any suggestions?
Edit #1:
I tried changing the column to a text data type and then sorting to look at all of the values, but it says "Invalid cell value: '#N/A', which is weird. I wonder why it won't let me sort the data.
Seems the only way you can handle these types of values are to handle them outside of Power BI. Power BI cannot handle these values at this time.

Columns in PowerBi showing data in power query but not in dashboards

I am facing an issue in power bi the columns in power query shows data exactly what it needs to be but when I close and apply the data of certain columns is just BLANK it does not show, moreover the data in lat long columns does not show decimals just whole numbers. Moreover, I have tried to refresh tables several times bu the problem persists. I have ann underlying BIG DATA solution, the data is correct there but dashboards seem to act weird any thoughts?

Power BI Desktop doesn't honor percentage column type

I've imported data (approximately 200 columns) into Power BI desktop (latest version as of 2017-08-02) and have explicitly told the app to treat a number of columns as being percentages. Within the query editor, I can verify that my values are treated as such:
When I put my data into a table, they show up as normal floats, not percentages. When I click on the exact same column as in the above picture and view it in the Modeling tab, Power BI shows it as being "General" format:
While I can go through and change the formatting here to have them all be percentages, I have already done so in the query editor! Is there a way to make PBI recognize my already specified format?
Short answer: No.
Explanation:
In the query editor, you didn't actually specify any format. What you specified is the data type, so that the source data can be read correctly. Say you have a column with data like 001, you can specify it as text type so you can retain the leading zero.
However, the actual formatting (i.e. data presentation) is done in your second step, because even if it's a (decimal) number, you can still format it as a percentage, with different decimal places, etc. (vice versa)

Format date field in Power BI service

I have imported an Excel file to Power BI service from my OneDrive for Business.
The file contains a simple Excel table and one of the fields is a date.
Now, in Power BI service, I get that field displayed as a whole number which isn't very useful to read in a report.
How do I change the field to display as date?
Thanks!
We can use FORMAT() method to format date value, Use below mentioned formula
Syntax: Column = FORMAT(Table[column],"MM/DD/YYYY")
Column = FORMAT(DailyActiveUsers[startDate],"MM/DD/YYYY")
Before my data:
After my data:
This usually works by default for true Excel dates. Anyway, just open the Edit Queries window and navigate to your table. In the column header for your Date, change the Data type to Date. Close & Apply to see the result in your report.