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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
RTMontreal
Regular Visitor

Filter Fiscal Periods using a variable

 
This Measure calculates correctly but I want to replace the 10 with the Current Period from a table with one record and no links to other tables. 
 
AC CY YTD = CALCULATE( Data[AC CY],'Time'[FiscalPeriod]>=1 && 'Time'[FiscalPeriod]<= 10)
 
RTMontreal_1-1627672393519.png

 

RTMontreal_0-1627672342383.png

 

2 REPLIES 2
Anonymous
Not applicable

Hi @RTMontreal ,

What's the meaning of the following phrase? Could you please provide some sample data from table Data, table Time and also explain the result you want. Also, provide the related calculation logic and the settings of the visual in your report (e.g. the fields placed and under which option).


This Measure calculates correctly but I want to replace the 10 with the Current Period from a table with one
record and no links to other tables. 

1. Sample data

Data table

       
       
       

Time table

       
       
       

2. Expected result with calculation logic and examples

 

3. Visual setting

yingyinr_0-1627969211649.png

Best Regards

ryan_mayu
Super User
Super User

@RTMontreal 

could you pls provide some sample data and expected output?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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