Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
i have a model with several fact tables (such as orders, sales etc.). my main pivot fact table is customers.
i have built some measures calculating sum of sales/orders/etc in the last X months (X is being selected as a parameter by the user in a dedicated slicer).
i have a table visual of customers (row per customer) and in columns there are all the measures i mentioned above.
my aim is adding slicers as number of measures above which simply filter the table by --measure is greater than zero or not-- (true/false) and of course change the count of customers' card visual accordingly.
i hope its clear.
thanks in advance,
Amit
Thanks for your reply!
if i build one of the above columns (called it "A" for convinience) in Customers table i get this error: <pi>A circular dependency was detected: Customers[A], Customers[Num. Of Devices], Customers[A].</pi>
Hi, @akfir
Can you share a sample file for further research?
Best Regards,
Community Support Team _ Eason
@akfir , for a measure filter use a visual level filter or values/summarize depending on the number of columns
Countx(Filter(Values(Customer[Customer]), [Sales] >0), [Customer])
or
Countx(Values(Customer[Customer]), if([Sales] >0, [Customer], blank()))
User | Count |
---|---|
54 | |
22 | |
19 | |
16 | |
11 |
User | Count |
---|---|
82 | |
55 | |
39 | |
20 | |
12 |