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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
muhammadmuhib20
Regular Visitor

Power BI DAX

Hello folks,

Need some guidance on the below scenario.

I have a below table in my Power BI data model:

I have attendance against my OMNI source and Revenue against my IG source and attendance is against the facilities for each day 
where as the revenue is outlet wise there are many outlets in a given facility.




what i wanted to get the output as the sencod table where I can fix the attendace by Facility and As of Date.

 FacilityAs of datSource NameActual AttendanceOutlet Name
ABC6/18/2024OMNI5526 
ABC6/19/2024OMNI2259 
ABC6/20/2024OMNI2456 
ABC6/21/2024OMNI3450 
ABC6/18/2024IG Bennos Race
ABC6/19/2024IG Caricature
ABC6/20/2024IG Dri Exp




FacilityAs of dateSource NameActual AttendanceOutlet NameTotal AttendanceRevenue Per Cap
ABC6/18/2024OMNI5526 552600
ABC6/19/2024OMNI2259 225900
ABC6/20/2024OMNI2456 245600
ABC6/21/2024OMNI3450 345000
ABC6/18/2024IG Bennos Race5526500009.048136
ABC6/19/2024IG Caricature22592500011.06684
ABC6/20/2024IG Dri Exp24564000016.28664



I need to get the percap by each outlet but couldn't do it as attenance is not there that i need to fix it.
I can easily do it in Talbeau by using Fixed LOD by Faciiltiy Name and As of Date but struggling here in Power BI.

can anyone please suggest how can i acheive this Power BI using DAX.
I dont want to use SUMMARIZE and then do a lookup as my data volume is huge.

Thanks in advance




1 REPLY 1
Anonymous
Not applicable

Hi @muhammadmuhib20 

 

I don't quite understand your needs. “what i wanted to get the output as the second table where I can fix the attendace by Facility and As of Date.” What is the exact logic of the "fix"? It would be nice if you could illustrate this in conjunction with the desired outcome of the example data. How to provide sample data in the Power BI Forum - Microsoft Fabric Community Or show them as screenshots or pbix. Please remove any sensitive data in advance. If uploading pbix files please do not log into your account.

 

Best Regards,
Yulia Xu

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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