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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Measure displaying based on table colum (current, prior month, prior year)

Hi there, hope someone has an easy fix for a Power BI novice. 

 

I've got a table that is structured like this:

ID (License)Start dateEnd dateAmountCustomerStatus
      

 

I manged to create measures to show e.g. the sum of amounts of all items where today falls within their start and end period. Or, distinct customer cout for same, or distinct ID count for same.

 

What I ultimatively trying to achieve is a table visual that looks like this

 

 Current Value (Today)prior monthchange in %prior yearchange in %
Amount     
Customer     
ID (License)     

 

Of course, I can create a ton of individual measures to do this, i.e. for current, one for each item (Amount, Customer, License) * two  (Value and percentage change) for each Period (current, prior month, prior year). My main challenge, I've got a lot more of these groups than three... so quite a few measures to create. 

 

I'm wondering though, whether it would be possible to generate only one measure per item and have the meassure react to the column hadline. Is there an easier way to achieve what I need to do? 

 

Thanks for your help. 

 

Thanks. 

2 REPLIES 2
v-luwang-msft
Community Support
Community Support

Hi @Anonymous ,

Pls share your pbix file ,remember to remove confidential data.

 

 

Best Regards

Lucien

Anonymous
Not applicable

Thanks Lucien 

That's a little tricky. All the data are pulled in via API, and without the connection there wouldn't be any tables. Or is there a way to still create an annonymised file? Thanks Mark

 

 

 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors