March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello all,
I'm a newbie in working with Power BI.
Actualy I have a data model with a tble which has in One Row several letters and in another row values.
Now I try to create a Measure with DAX-Formula which calculates the sum of the values only for the lines, where the Letter "B" is mentioned in the column of the letters.
I tried my best with SUMX or CALCULATE but it doesn't work and I don't understand why.
My Measure was:
Solved! Go to Solution.
Thanks for your support. I found the solution.
The data in the table is not "V", it is " V" with a leading Space! This took hours to find out for me 😂
But I'm happy that it is now working.
Thanks for your support,
Kind regards,
Philipp
Hi @Philipp_ISARTAX
Can you share sample data and expected output??
To understand why your measure does not work, share some data
Hello @Ahmedx ,
hello @Uzi2019 ,
Please find as follows a screenshot from the table "Abgerechnete Gebühren" from Power Query with the relevant columns:
Here is the Measure and the used DAX-Formula:
I would have expected the summarized total of the columns "Gebührenbetrag mit Mult..." over the lines where the letter "V" is in column "Abrechnungsart Gebühren".
As you can see in the card, the result is empty!
after the filter must be approved ALL
Share sample pbix file to help you.
or try this
CALCULATE(SUM(....), FILTER(ALL(.....
Hello @Ahmedx ,
I don't know, if this works. Please find as follows the Link to the Sample-pbix-File:
Thanks, Kind regards
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |