最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

PowerBI matrix total not totalling rows shown in Matrix - Stack Overflow

programmeradmin4浏览0评论

I'm new to Power BI and have come across this issue. In power BI i am working with a csv file called 'EUTaxonomyCSRD'. In the file I have a column called 'Location Name' that defines the location name and a column called 'Total Asset Value' that defines the asset value and year (the same throughout) note that I have multiple rows with the same name (and the same asset value) like so:

Location Name, Total Asset Value, Year London, 200, 2030 London, 200, 2030 London, 200, 2030 Paris, 300, 2030 Paris, 300, 2030 Paris, 300, 2030

I am trying to make a matrix that has the following fields:

Rows

  • Location Name

Columns

  • Year

Values

  • need to make a measure that just gets the asset value for the location, did like so given the asset value stays constant for each location:

    TotalAssetValueCSRD = SUMX(
    VALUES(EUTaxonomyCSRD[Location Name]),
    MAX(EUTaxonomyCSRD[Total Asset Value])
    )

My issue with this is that the values for each row are correct when looking at my csv file, but the total value at the bottom of the matrix is wildly off. Not sure if anyone has come across this issue, and ChatGPT has been of no use whatsoever so any help is greatly appreciated :)

发布评论

评论列表(0)

  1. 暂无评论