-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data to columns #9
Comments
Hi, |
Hi Fredrik I'm also completely new to Power BI and I think I'm having a similar issue to LtnMax. When I put the relevant fields into the field list - EOM (Year) and Revenue - and press 'Generate template from field list', the table created has the years as separate columns, and only one row (Revenue). I'd like to flip this so the years are rows and the Revenue is a column. Below is some code I have written to try and fix this. This, however, shows the years along the top only (no revenue at all) please could you help me fix it? Thanks { |
Hi!
I am a complete newby in writing any code at all.
I understand, how to format things in your visual, but I have no Idea how to split data into columns:
Thank you!
{
"headerStyle": "border-bottom:1px;border-bottom-color:#eee;border-bottom-style:solid",
"rowStyle": "text-align:left",
"width": 150,
"type": "RowHeader",
"refName": "[Account_name]",
"title": "",
"calculationFormula": "",
"format": ""
},
{
"headerStyle": "border-bottom:1px;border-bottom-color:#eee;border-bottom-style:solid",
"rowStyle": "",
"width": 150,
"type": "Calculation",
"refName": "[Amount]",
"title": "2017",
"calculationFormula": "[Amount]",
"format": "#,#"
},
{
"headerStyle": "border-bottom:1px;border-bottom-color:#eee;border-bottom-style:solid",
"rowStyle": "",
"width": 150,
"type": "Calculation",
"refName": "[Amount]",
"title": "2018",
"calculationFormula": "[Amount]",
"format": "#,#"
}
]
The text was updated successfully, but these errors were encountered: