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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

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.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
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.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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