Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
sublog
Helper III
Helper III

Add a measure to column in matrix

I have a measure that calculates a revenue group based on a LTM measure of revenue. I am trying to create a chart that shows the % change of these groups over time. I can't move the measure into the column field in a matrix. It does not work. I created a calculated column, which I could drag to the column, but it is not dynamic. It shows the same # of employees regardless of what month it is. 

 

I was able to create a chart in a pivot table easily using this method, but it doesn't work for PBI.

 

6SnOvUP

 

2 REPLIES 2
parry2k
Super User
Super User

@sublog sorry it is not clear how your data looks like and what are the measures? Can you share more details? Read this post to get your answer quickly.

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Here's my measure

TTM Rev Group Bucket Dlvry = SWITCH(TRUE(), 
            AND([TTM MA Dlvrd Rev]>=0,[TTM MA Dlvrd Rev]=0), BLANK(),
            AND([TTM MA Dlvrd Rev]>=0,[TTM MA Dlvrd Rev]<=750000), "$0K - $750K",
            AND([TTM MA Dlvrd Rev]>=0,[TTM MA Dlvrd Rev]<=1500000), "$750K- $1.5M",
            AND([TTM MA Dlvrd Rev]>=0,[TTM MA Dlvrd Rev]>1500000), ">$1.5M")
Which is referencing this measure:
 
Gives me a TTM revenue total, which I am grouping into buckets above. I can show these buckets at the individual level, but when I try to summarize them (% of total population) I run into issues if I want to trend it over time. 
TTM MA Dlvrd Rev =
CALCULATE (
    [Total Revenue],
    DATESBETWEEN (
        'Calendar'[Date],
        NEXTDAY ( SAMEPERIODLASTYEAR ( LASTDATE ( 'Calendar'[Date] ) ) ),
        LASTDATE ( 'Calendar'[Date] )
    )
)

Have a farily complicated model with 13 tables. 
 
The two tables is a sales table and a headcount table. 
 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors