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.
Hi All,
I want to show in a matrix visual the count of [date] from table B per day [date] table C per [step] table B. Table C has a table join with table A. At the moment the matrix count all rows in table B, but I only want a count of the rows where the [SN] date in table A is the same as the date in the matrix. See below an example in Excel.
Solved! Go to Solution.
Create a column like this in B. If date exits mean it is in A
maxx(filter(table A, table A[SNO] = Table B[SNO]),table A[date])
I tried to solve it with using a calculated column - lookupvalue(tableA[date],tableA[SN],tableB[SN]) - but I got a #error - A table of multiple values was supplied where a single value was expected.
Try
lookupvalue(tableA[date],tableA[SN],firstnonblank(tableB[SN],true()))
the same error.
Create a column like this in B. If date exits mean it is in A
maxx(filter(table A, table A[SNO] = Table B[SNO]),table A[date])
thank you this solution is working good.
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 |
---|---|
106 | |
94 | |
77 | |
65 | |
53 |
User | Count |
---|---|
145 | |
105 | |
104 | |
90 | |
63 |