Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hello All,
I've been looking for a solution regarding my problem, however non of the finds worked. I have a measure, which calculates the
count of values, that are filtered. When I put it into a table, next to other values, like Shop ID, it nicely shows the numbers I need,
however when I want to calculate an average for these, it runs into a problem.
| DATE | SHOP ID | STOCK (MEASURE) |
| 2022.08.05 0:00 | XX1 | 627 |
| 2022.06.24 0:00 | XX1 | 626 |
| 2022.06.25 0:00 | XX1 | 532 |
| 2022.06.28 0:00 | XX1 | 443 |
| 2022.06.29 0:00 | XX1 | 626 |
| 2022.06.30 0:00 | XX1 | 699 |
Solved! Go to Solution.
Hi All, I finally solved my problem with the help of: https://community.powerbi.com/t5/Desktop/DAX-Help-Combine-Groupby-and-Filter-Functions/td-p/199645
Basically what I had to do, was to write the following measure:
Hi All, I finally solved my problem with the help of: https://community.powerbi.com/t5/Desktop/DAX-Help-Combine-Groupby-and-Filter-Functions/td-p/199645
Basically what I had to do, was to write the following measure:
is this what you want?
Proud to be a Super User!
Yes, 592,17 is what I'm looking for, but the table that I have is a visual, which works by measures, so I don't phisically have these values on hand, only if I order them by date, shop ID etc.. into a table measure.
In my case, I cannot sumx any column value, as it is a measure as well.
The original measure which gives me back the STOCK values:
| User | Count |
|---|---|
| 56 | |
| 41 | |
| 38 | |
| 21 | |
| 21 |
| User | Count |
|---|---|
| 140 | |
| 102 | |
| 64 | |
| 36 | |
| 35 |