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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Table formula issue

Hi,

 

formular is.. 

 

Available_Table = groupby(SELECTCOLUMNS(
    FILTER(Cap_Data,Cap_Data[Gross Available]>0),
    "SlotDate",Cap_Data[SlotDate],
    "SP Type",Cap_Data[ServiceCentreReportingType],
    "CapacityRemaining", Cap_Data[Gross Available],
    "Site",Cap_Data[ServiceCentreName],
    "ChargeFlag",if(Cap_Data[IsNonChargeableFlag]=0,1,0),
    "FreeFlag",if(Cap_Data[IsNonChargeableFlag]=1,1,0),
    "DateTime",Cap_Data[SlotDateTime]),
    [Site],[CapacityRemaining],[SP Type],[ChargeFlag],[FreeFlag],[SlotDate])
 
my issue being that its missing rows that should be there (I think)
date value "Cap_Data[SlotDate]" is is just a whole date... date value "Cap_Data[SlotDateTime]" is the date and a time..
 
IE those 2 date fields in a row would read..
 
01/12/2022 & 01/12/2022 09:30
 
or
 
01/12/2022 & 01/12/2022 10:00
 
so the date may have 24 varianst to is (IE the date then the date and time)
 
However if I group by the date field the result of the table is missing rows.. seems to only give the first and last value (I think coiuld be wrong tho).. if I use the date/time field all the rows appear as I expect them too..
 
I want the table to be grouped by the "capacityRemaining" field.. and sim the capacty remaining.. 
 
pls help!
 
thanks
 
J
 
2 REPLIES 2
Anonymous
Not applicable

HI @Anonymous,

Any update on this? It is hard to test and troubleshoot without any detail sample data, can you please share some more information about these?

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi @Anonymous,

Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.