Forum Discussion
cham
6 years agoPost Patron
Remove Duplicates
Hi, I want to remove duplicates in Power BI Data tab. I have created a new column and I want to remove duplicates. How I can do that. We can do it using tranform table but I created a new col...
- 6 years ago
Hi,
This M code should let you comobine text with number
=Text_column&Number.ToText(Numeric_column)
Replace Text_column and Numeric_column with your actua table and column names.
Ashish_Mathur
6 years agoSuper User
Hi,
I cnanot understand your question. Share your data, explain the business context and show the expected result.
cham
6 years agoPost Patron
This is the table,
I want to get the average of lat for 7000 TAS. There are 6 lat records for 7000 TAS. So I want to get the average for that. Likewise I want to get the averageif for all the data.
| suburb | postcode | state | Suburb and Postcode | lat | lon | PostCode AND State |
| GLEBE | 7000 | TAS | GLEBE7000 | -42.874031 | 147.326354 | 7000 TAS |
| HOBART | 7000 | TAS | HOBART7000 | -42.882743 | 147.330234 | 7000 TAS |
| MOUNT STUART | 7000 | TAS | MOUNT STUART7000 | -42.873119 | 147.302297 | 7000 TAS |
| NORTH HOBART | 7000 | TAS | NORTH HOBART7000 | -42.872319 | 147.314579 | 7000 TAS |
| QUEENS DOMAIN | 7000 | TAS | QUEENS DOMAIN7000 | -42.865684 | 147.32872 | 7000 TAS |
| WEST HOBART | 7000 | TAS | WEST HOBART7000 | -42.883713 | 147.314907 | 7000 TAS |
| HOBART | 7001 | TAS | HOBART7001 | -42.837499 | 147.506162 | 7001 TAS |
| TASMAN ISLAND | 7001 | TAS | TASMAN ISLAND7001 | -43.238773 | 148.002958 | 7001 TAS |
| NORTH HOBART | 7002 | TAS | NORTH HOBART7002 | -42.899691 | 147.446349 | 7002 TAS |
| BATTERY POINT | 7004 | TAS | BATTERY POINT7004 | -42.892767 | 147.333242 | 7004 TAS |
| SOUTH HOBART | 7004 | TAS | SOUTH HOBART7004 | -42.892586 | 147.316109 | 7004 TAS |
| DYNNYRNE | 7005 | TAS | DYNNYRNE7005 | -42.901018 | 147.314131 | 7005 TAS |
| LOWER SANDY BAY | 7005 | TAS | LOWER SANDY BAY7005 | -42.919553 | 147.354439 | 7005 TAS |