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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
carinatina_pbi
Frequent Visitor

Limit calculation by period and ticket

I am trying to replicate this excel file calculations in PBI file.

 

So far I could already find some solution using columns, but this works only if I load just one ticket in my database.

If I load more calculation is completed wrong.

The solution should be based on ticket and period.

If the ticket has 6 lines/periods, we should calculate only 5 columns (Col 1, Col 2 ...) as below (not filling all lines):

PBI Example Correct Calc.JPG

But as it has been created, if I load more than one ticket, I got figures wrong as below (yellow marked ones should not appear):

PBI Example Wrong Calc.JPG

There is any possibility to have it correct calculated/limited even loading more than one ticket?

 

Thanks in advance for any help.

Carina

1 REPLY 1
lbendlin
Super User
Super User

You may not want to name your measures Col1, Col2 etc - that might be confusing.

 

If you want to suppress the display for  certain cells you will need to modify the respective measure to return BLANK()  for these contexts.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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