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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
datewithoutdata
Regular Visitor

Sum of a column appears to be blank

Untitled.jpgGood morning,

I have imported a template to an application and the measures of 3 out of 4 queries synced. Measures of the other table (OPG) appear to be invalid. I tried to calculate a simple thing such as a sum and, I've got back a blank.

P.d.: The query has a relationship with the table called FechaComp that is a date-table. If I delete this relationship between FechaComp and OPG, I get a numerical result but not the correct one. Besides, the other queries are related to this table too, and they are not giving me any problem. Presupuesto Definitivo is related to another query called PGA.

Kind regards
Daniel

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@datewithoutdata ,

I doubt this can just happen like that. Either there is a filter on the page or at the visual level.

 

Put that column on a blank new page and check.

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

View solution in original post

5 REPLIES 5
datewithoutdata
Regular Visitor

Untitled.jpgGood morning,

I have imported a template to an application and the measures of 3 out of 4 queries synced. Measures of the other table (OPG) appear to be invalid. I tried to calculate a simple thing such as a sum and, I've got back a blank.

P.d.: The query has a relationship with the table called FechaComp that is a date-table. If I delete this relationship between FechaComp and OPG, I get a numerical result but not the correct one. Besides, the other queries are related to this table too, and they are not giving me any problem. Presupuesto Definitivo is related to another query called PGA.

Kind regards
Daniel

 

 

 

 

@datewithoutdata , I doubt this can just happen like that. Either there is a filter on the page or at the visual level.

 

Put that column on a blank new page and check.

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

V-lianl-msft
Community Support
Community Support

Hi @datewithoutdata ,

 

Try: Measure =
CALCULATE(
SUM(OPG[Gastos xxxx]),
FILTER(OPG,OPG[YEAR]=MAX(Fechacomp[YEAR]))
)

If the problem persists,could you share the sample pbix with dummy data?

https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-... 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@datewithoutdata ,

I doubt this can just happen like that. Either there is a filter on the page or at the visual level.

 

Put that column on a blank new page and check.

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

I was trying to make a sample of the data and I realized I had an unrelated column filtered without null data. When I removed this filter, it worked correctly.

 

 

Kind regards,

Data

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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