Forum Discussion
Diagonal Calculation with multiple columns and dates involved
- Anonymous3 years ago
HI akshbhala,
You can do unpivot columns on your fields to convert them to attribute and value, then remove the character to only keep number in your attribute fields.
Unpivot columns - Power Query | Microsoft Learn
After these steps, you can create segment table with different ranges and use with raw table field and new table segment to create matrix. Then you can write a measure to look up and calculate value based on current category and segment.
Dynamic segmentation – DAX Patterns
Regards,Xiaoxin Sheng
HI akshbhala,
You can do unpivot columns on your fields to convert them to attribute and value, then remove the character to only keep number in your attribute fields.
Unpivot columns - Power Query | Microsoft Learn
After these steps, you can create segment table with different ranges and use with raw table field and new table segment to create matrix. Then you can write a measure to look up and calculate value based on current category and segment.
Dynamic segmentation – DAX Patterns
Regards,
Xiaoxin Sheng