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.
Afternoon,
So I've added a pivot table as a data source which looks like this:
Concat | 1801 | 1802 | 1803 | 1804 | 1805 | 1806 | BLANKS |
fn123410022 | 12 | 36 | 87 | 7 | FALSE | ||
fn1324510022 | TRUE | ||||||
fe1352168751 | 1 | 6 | 8 | 4 | FALSE |
Concat = Product Code
1801, 1802 etc = Months of the year
In Excel, I would paste the pivot into a new tab and add the BLANKS column to see whether the product had been sold. The formula is:
=SUMPRODUCT(--(B836:AF836<>0))=0
Is there an alternative I can use?
Secondary question: I'm using a pivot table as source data which would be updated one a month to include new sales data. If I create a Custom Column like the one above, would PBI know to insert a column for the new month or would it override the Custom Column?
@bilogin , it should unpivoted
https://radacad.com/pivot-and-unpivot-with-power-bi
Transpose : https://yodalearning.com/tutorials/power-query-helps-transposing-data/
Also, share the expected output. Not clear with excel formula
@amitchandak the expected output for the SUMPRODUCT formula is as in the table - if the rows are blank or less than 0 (ie no sales have taken place), the formula will return TRUE. If the value is >0, the cell will return FALSE.
Pivoting the data didn't work, I tried Sales to Period even though both are numbers, I got the following error:
Expression.Error: We cannot convert the value null to type Text.
Details:
Value=
Type=[Type]
Thanks for your help.
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 | |
100 | |
86 | |
64 |