Forum Discussion
Anonymous
5 years agoNot applicable
Conditional columns
Hi, I have a table with monthly company data for 3 years. I am trying to reshape my table and make new columns for some of the metrics using conditional columns. My table looks like below: ...
amitchandak
Super User
5 years agoAnonymous , first table when you create columns, Second table is when you create a measure.
Even if you create column, when you show on visual, it will group like second table
new columns
revenue= if([Metric name] ="Revenue",[Metric Value], blank())
Cost= if([Metric name] ="Cost",[Metric Value], blank())
- Anonymous5 years agoNot applicable
Hi,
Sorry, I am new to Power BI, do you mean that I should make a "custom column"? In that case, I get an error related to the [metric value].
Thanks.