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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
NormandoSanchez
New Member

Measure calculation using row context

Hi;

 

I am try to calculate a measure NumDaysOpenShop, in a Period Year/Month and in a Shop or in all shops 

LIke page filters i have got a Year and a Shops, in the year i can select only one, in the shop i can select one, some or all shops. 

In matrix i show year/month on rows

 

2022                             Measure be SUM([Table][Colum]) with dates in 2022 and shop selected in page filter, except if all or more than one shop is selected, in this case i want use MAX(measure [NumDaysInMonth] with dates in 2022   

 

   January                      SUM([Table][Colum]) with dates in January 2022 and shop selected in page filter, except if all or more than one shop is selected, in this case  i want use MAX(measure [NumDaysInMonth] with dates in 2022   

   

Hope i explained 

 

   .......

0 REPLIES 0

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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