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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
ProductOwnerMI
Regular Visitor

SUM total days Commission then list all days over budget

Hi all,

My data is in a Cube and im using PowerBI as the reporting tool.

 

I would like to SUM commission by day and then identify the days over budget.

1. Currently commission is stored per trasnaction - therefore need a function to sum total for the day

2. the Budget number is not stored in the DB so would be a static value

 

I would like to display in a table:

1. For the days over budget (>10,000)

Date - Total commission for the day

 

2. COUNT of the days over budget in a given period (i.e YTD)

 

Thanks for any help   

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi,  @ProductOwnerMI 

Not fully sure what is your question, can you elaborate a bit more?

Please share you sample data for further research.

Best Regards,
Community Support Team _ Eason

amitchandak
Super User
Super User

@ProductOwnerMI ,You can try a measure like

Make sure you have budget and commission  measures

 

countx(filter(Values(Date[Date]), [commission] >[Budget]))

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.