Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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:
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
88 | |
63 |