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
BlueSol
Frequent Visitor

Measure and KPI with Determined Column Data

I am new to this. Here is the best way I can describe what I am trying to do.

 

I want to use KPI and Guage Visualization and have the Target value based off a particular product.
I have a table With Dates, Machine type (Low, Med, high), Product names, and Values
I have two slicers. One for Machine Type and One for Product Names.
I have made a column to use as my target in the Guage and KPI - TargetProduct = SUMX (CALCULATETABLE('DataPPT', 'DataPPT'[Product Name]="TestProd"),[Values])

 

My issue is My TargetProduct only works if I have it ALSO selected in Slicer and then it Sums the two products for the guage.

 

I want the Sum of selected product and Target Value of TargetProduct to compare the two.

 

And with KPI I want to use TargetProduct as my Target Goal but run into same issue.

 

Any direction on how to do this properly would be apprciated.

1 ACCEPTED SOLUTION
BlueSol
Frequent Visitor

Seems it was easier for now to create another table with my baseline data and add the same two filters and use second data set as target values. second data set is copy of first.

View solution in original post

3 REPLIES 3
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @BlueSol,

 

Rather than creating a column to use as target value in the Guage and KPI, you could create a measure like below:


TargetProduct measure = SUMX (CALCULATETABLE('DataPPT', 'DataPPT'[Product Name]="TestProduct"),[Value])

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

By doing the second data set.  As my baseline changes it was easier for making a selection then creating a new measure each time.

BlueSol
Frequent Visitor

Seems it was easier for now to create another table with my baseline data and add the same two filters and use second data set as target values. second data set is copy of first.

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