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

Slicer issues

Hello! I previously got help with my query on using a measure to calculate my average operational days. 

PowerBI Help.PNG

 

The formula the community helped me with was this 

 

Ops Days(Act) = AVERAGEX(VALUES('PowerBI Data'[Country2]),CALCULATE(SUM('PowerBI Data'[Total]),'PowerBI Data'[Revenue Reference]="OpsDay_",'PowerBI Data'[Actual / Plan]="Act",SWITCH('PowerBI Data'[Country],"SG",TRUE(), "MY",TRUE(),"TH",TRUE(),"PH",TRUE(),"VN",TRUE(),"ID",TRUE())))
 
However, when I try to slice/filter by Product1 or 2. The result is Infinity.
 
How can I get powerbi to recognize that Operational days can be used to beyond slicing by country? 
 
e.g. Revenue (Express) / Ops Days 
3 REPLIES 3
Jerry1985
Frequent Visitor

Bumping up my post T_T 

 

Hi, @Jerry1985 

Yur formulas and screenshots confuse me.

Can you directly share your sample data and expected results?

Best Regards,
Community Support Team _ Eason

Thanks for reaching out!
My sample data is below. 

 

so my expected outcome is a calculated ADNR 4,176k (Express).

I'm trying to get powerbi to calculate the same ADNR of $x,xxxk (Domestic) 

But i can't get it to recognize that the opsdays calculation can be used interchangeably between Express and Domestic. 

 

Not sure if this made sense... 

 

Sample Data.PNGSample data2.PNGSample data3.PNGSample data4.PNG

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.