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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
BotBot1
Helper III
Helper III

Company Counting

Hi,

I have the below clustered bar chart visual. I have a table called ApprovalLog with [Actions] as my y-axis ("accept" or "reject"), count of [CompanyId] as my x-axis and a Small Multiple of [Section] which is 4 sections that companies go through acceptance/rejection of ("a", "b", "c" and "d"). 

BotBot1_0-1692366997460.png

 

It is currently counting companies where they have had an action in any of the sections, but I need the count of the CompanyId's to be the by the latest date of each section. E.g. If a company has had an Action of "accept" from section a and a "reject" from section a also, but the accept is more recent, i need the company excluded from section a "reject" in the visual. Please see the below example:

BotBot1_1-1692368635628.png

For example, for this company, I would like the company counted for the top 4 rows but not the bottom one as the DateCreated was earlier than the more recent section a (earlier in the day in this example). 

Please let me know if you need any other information/clarification, thank you.

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

You can use a calculated table to implement that grouping logic. Then feed the visual off that table.

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

You can use a calculated table to implement that grouping logic. Then feed the visual off that table.

Yep thought so, going to have to! Thank you

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

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.