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.
Hey guys,
I thought I had a good approach for a formula, but in some cases I get this error message "A table of multiple values was supplied where a single value was expected". Here's what I need:
There is a table with Product names like this:
Product name | Start Date |
A1 | 01.01.2020 |
B1 | 01.07.2021 |
C1 | 01.08.2022 |
A2 | 01.09.2020 |
And another table with something like sales:
VOL | Product Category | Sales Date |
3 | A | 07.02.2020 |
1 | A | 08.02.2020 |
6 | A | 07.09.2020 |
3 | A | 09.02.2020 |
3 | A | 10.09.2020 |
4 | B | 01.07.2021 |
Please note: The tables are not directly connected, but through another table so that A1, A2, ... belong to A.
What I want Power BI to do is to look for the maximum VOL and return the sum for the following 6 days. But first, he has to check if the volume of product category A belongs to A1 or A2, which I did with DATESBETWEEN Min(Start Date) and Min(Start Date)+60 days.
I tried this formula:
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 |
---|---|
10 | |
9 | |
9 | |
8 | |
8 |
User | Count |
---|---|
14 | |
12 | |
11 | |
11 | |
8 |