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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.