Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I have these two measures:
M1= CALCULATE(SUM(Data[Qty]),FILTER(ALLSELECTED('Date list'[Date]),'Date list'[Date]<=MAX('Date list'[Date])))
M2= CALCULATE(SUM(Data[Qty]),FILTER(ALLSELECTED(Data[Data type]),Data[Data type]="3p"))
when I create a chart, M1 shows only values associated to 3p. I want M1 to ignore "Data Type" and to show the total for all Data Type.
thanks
Solved! Go to Solution.
Well, this is an embarassing one....
I just noticed my chart created a second vertical axis. I was looking the left one striggling to understand why the numbers are not matching. I now realized that the axis was moved to the right... 🤣
sorry guys! your solution work, but they are not necessary. thanks
Well, this is an embarassing one....
I just noticed my chart created a second vertical axis. I was looking the left one striggling to understand why the numbers are not matching. I now realized that the axis was moved to the right... 🤣
sorry guys! your solution work, but they are not necessary. thanks
Hi @MagikJukas ,
Please try below dax formula:
M1= CALCULATE(SUM(Data[Qty]),FILTER(ALLSELECTED('Date list'[Date]),'Date list'[Date]<=MAX('Date list'[Date])),REMOVEFILTERS('Data'[Data type]))
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
hi @MagikJukas
try like:
M1= CALCULATE(SUM(Data[Qty]),FILTER(ALLSELECTED('Date list'[Date]),'Date list'[Date]<=MAX('Date list'[Date])), ALL(Data[Data Type]))
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
11 | |
10 | |
10 | |
9 |
User | Count |
---|---|
18 | |
13 | |
12 | |
11 | |
8 |