Forum Discussion
Edit query not changing format
- 9 years ago
OK, the data type Percentage doesn't exist in the data model, but you can use decimal number, with format percentage.
Alternatively, if you want e.g. 25% to show up as 25 in the data model, you need to multiply the values by 100.
Probably the formats were changed, but the percentage data type in Power Query does not exist in the data model.
So e.g. 99% in the Query Editor becomes 0.99 in the data model.
Maybe the data type in the data model was adjusted to whole numbe, causing the 0.99 convert to 1.
Hi thanks for the quick reply but I'm not too sure I understand? What do I need to do to ensure the formats stay changed?
Cheers
- MarcelBeug9 years agoCommunity Champion
Do you mean the percentages?
- Bando9 years agoFrequent Visitor
Yeah the percentages. Thanks
- MarcelBeug9 years agoCommunity Champion
OK, the data type Percentage doesn't exist in the data model, but you can use decimal number, with format percentage.
Alternatively, if you want e.g. 25% to show up as 25 in the data model, you need to multiply the values by 100.