Forum Discussion
Anonymous
4 years agoNot applicable
Table with Column and Row identifiers
I have a table "Monthly Sales" that has the Sales Reps in rows and Months as Columns. I need to calculate the current selected month sales amount per sales rep based on this data. The is...
- Anonymous4 years ago
Hi Anonymous ,
1.As AlexisOlson suggested, please click the Name column --> Select Unpivot other columns:
2. Create a date table, build relationships based on Month column. (I have renamed the Attribute column to Month)
ForSlicer = ADDCOLUMNS( CALENDAR(DATE(2021,1,1),DATE(2021,12,31)),"Month", FORMAT([Date],"mmmm"))Output:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
AlexisOlson
4 years agoSuper User
Unpivot the month columns to make the data easier to work with.