cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Need to show the data based on category in single column

VESSEL_NAMETC_INCOMETC_EXPENSEYEARJANFEBMARTOTAL_DAYSINC_VAL
Celsius Macau135001300020203129319112,28,500
Celsius Mayfair10000132502020310031310000
Celsius Monaco100001325020203117048480000
TBN11350013000202000000
TBN21350013000202000000
TBN31350013000202000000

 

Sample data like above and i want show the data based on category for category we are refering another table. Please let me know how can I do that. Appreciate any help. 

Expected result like below.

Celsius Macau 
ACCOUNT_NAMEYEARLY_BUDGET
Operating expense 
   Asset0
   acc0
  Time charter expense (TC IN)12,28,500
  
Operating income 
  Asset0
  acc0
  Time Charter Income1183000
2 REPLIES 2
Greg_Deckler
Super User IV
Super User IV

@Anonymous - Can you post the data in that other table for category? You might want to unpivot your month columns (JAN, FEB, MAR)

 

 


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




amitchandak
Super User IV
Super User IV

@Anonymous , see if this can help

https://community.powerbi.com/t5/Desktop/Traditional-Financial-Statements/td-p/7223



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

March Update

Check it Out!

Click here to read more about the March 2021 Updates!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

secondImage

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.