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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
JamesBowdidge
Frequent Visitor

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
v-shex-msft
Community Support
Community Support

HI @JamesBowdidge,

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
v-shex-msft
Community Support
Community Support

Hi @JamesBowdidge,

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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