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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
MeiYing
Helper I
Helper I

Hi experts, could you help to convert this Tableau expression to Power BI expression?

{FIXED [COUNTRY], [REGION], [ORDERDATE] : SUM (
IF [KPIGROSS] = 'Yes'
THEN 1
ELSE 0
END) }

 

Thank you so much. I really have no idea on how to convert.

2 REPLIES 2
johnyip
Solution Sage
Solution Sage

This should be dependent on how you wish to display this measure.

 

Do you want it to be displayed in a matrix/table or in a card?

You can provide some sample picture of your desired output, and the data structure as well if you can, so people can better understand the question and answer that.



Please mark my post as the solution if this answers your question!
Appreciate your Kudos !!

Thanks John for the reply. I just want to keep it as a calculated field which will then be used to calculate an aggregation of percentage KPIGross for each week. The aggregate percentage KPI gross will be displayed as a line in bar chart. Below is the screenshot from the tableau. 

MeiYing_0-1675326606998.png

 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.