Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I created some sample data (files linked below) of something I could use some help on. I would like to create a "Current Period" column, "Previous Period" column, and a "Difference" column. I'd also like a dropdown slicer to filter specifically on year, quarter, or month, and have the "Previous Period" column update accordingly based on the slicer selection.
Furthermore, how do I prevent subtotals from appearing on text columns? As you can see in the screenshot below, I'm getting a text total of "1111" and "Atlanta", but the amount column totals correctly.
.pbix and .xlsx can be found at: Google Drive Link
Solved! Go to Solution.
Hi @Anonymous ,
Two method:
Method 1: Create measures for text columns.
CostCenter Measure =
IF (
ISFILTERED ( 'Employee Expenses'[CCOwnerVP] ),
MAX ( 'Employee Expenses'[CostCenter] )
)
CostCenterDescription Measure =
IF (
ISFILTERED ( 'Employee Expenses'[CCOwnerVP] ),
MAX ( 'Employee Expenses'[CostCenterDescription] )
)
Date Measure =
IF (
ISFILTERED ( 'Employee Expenses'[CCOwnerVP] ),
MAX ( 'Employee Expenses'[Date] )
)
Then replace your text columns with the measures above.
Method 2: use buttons to cover the subtotals not needed.
BTW, .pbix file attached.
Hi @Anonymous ,
Two method:
Method 1: Create measures for text columns.
CostCenter Measure =
IF (
ISFILTERED ( 'Employee Expenses'[CCOwnerVP] ),
MAX ( 'Employee Expenses'[CostCenter] )
)
CostCenterDescription Measure =
IF (
ISFILTERED ( 'Employee Expenses'[CCOwnerVP] ),
MAX ( 'Employee Expenses'[CostCenterDescription] )
)
Date Measure =
IF (
ISFILTERED ( 'Employee Expenses'[CCOwnerVP] ),
MAX ( 'Employee Expenses'[Date] )
)
Then replace your text columns with the measures above.
Method 2: use buttons to cover the subtotals not needed.
BTW, .pbix file attached.
I updated my .pbix file on Google Drive as I realized my slicer needed to be on a Calendar Table with continuous dates. I also created two measures, shown below.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!