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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Filter in formular - difference result in Tableau and Power Bi

Hi, 

first of all I would like to say thank to @Anonymous guiding me to build  Cohort Analysis in Power Bi. 

but to go further, my real data set I need to filter the Delivery Status Chosen(Choose or Do Not Choose) and B2B(True or False) 

I made CA in Tableau already and just made CA in Power Bi, then compared 2 results together. 

It gives me the different results. 

The correct result in Tableau I made like this - here is the explanation of the formula

For each B2B user, with User ID and filtered Delivery Status Chosen, gives me the 1st month he/she made purchase. 

I used FIXED here, meaning that it will filter the USER ID with Delivery Status Chosen and B2B. 

Tableau right Formula.PNG

To find out the different result between Tableau and Power BI, I adjusted formula in Tableau and it gives me the same result in Power Bi. 

Adjusted formula explanation: I take away the Delivery Status Chosen, B2B. It means that it dont care about Delivery Status Chosen and B2B when finding his or her 1st month purchase. 

Tableau Adjusted formula.PNG

and this is the formula in Power Bi

Power Bi Forumlar.PNG

Summarize, Adjusted Formula in Tableau = Power Bi formular. 

My question is how to adjust the formular in Power Bi to have the result like in Tableau. 

I guest in 1st Purchase in Power Bi, I have to add filter calculation like the Delivery Status Chosen and the B2B. 

here is the Delivery Status Chosen and  B2B description

B2B filter.PNG

 

Delivery Status.PNG

 

Hope to hear from you!! 

Thanks for reading!

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

Values in a calculated column are fixed. They are an immutable result for each row in the table. You just need to create a measure.

Measure =
VAR d =
    MIN ( Sheet1[ORDER DATE] )
RETURN
    d - DAY ( d ) + 1
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Moreover, 

in this case, the Order Date is for each month of the each. 

I created the Cohort Analysis to see how many customers comes to business at each month of the year. 

Just want to clarify more!!

 

Anonymous
Not applicable

Dear, 

Thank you for your reply, 

Could you clarify more about this, pleaese?

where should I put my measure in the power Bi visualization?

 

Thanks and hope to hear from you!!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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