Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all.
i am trying to mimic some kind of set filtering. In sql is is very easy, but i am using a SSAS cube.
I would like to mimic this in powerbi
In the below query, i first determine which customers have an aggregated sales amount of over 1000. Then just for those customers, i need to list their name and country
select CustomerID, CustomerName, CustomerCountry
from CustomerTable
where customerID in ( select customerID
from SalesTable
group by CustomerID
having sum(SalesAmount) > 1000
)
How to achieve this?
Anybody with an alternative aproach?
Nobody? Simply not possible?
@MarcoDekker Create a new table using SUMMERIZE
New Table = SUMMERIZE(Table, Table[CustomerID],Table[CustomerName],Table[CustomerCountry],"Amount" SUM(SalesAmount)>1000))
Hi @Tahreem24 . Thanks for this suggestion.
We use a SSAS cube provided by a supplier. I can use Dax allright when creating measures in a PBI report, but no columss or tables. So i am unable to use the summerize feature.
regards, Marco
User | Count |
---|---|
73 | |
72 | |
39 | |
25 | |
23 |
User | Count |
---|---|
96 | |
93 | |
50 | |
43 | |
42 |