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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
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.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!