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.
Hello All,
I have a created a table as below m query
let Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WSlTSUQKiqqoqIJmaCuGB6YwMpVidaKUkIDMFIpwCotPSYKz0dLCCZCATjIEASJWUQKR0lBJBZhcVgRWB1KeCTUa2AoRiYwE=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type text) meta [Serialized.Text = true]) in type table [A = _t, B = _t, C = _t, D = _t, E = _t, F = _t, G = _t]), #"Changed Type" = Table.TransformColumnTypes(Source,{{"A", type text}, {"B", type text}, {"C", type text}, {"D", type text}, {"E", type text}, {"F", type text}, {"G", type text}}) in #"Changed Type
Now i am trying to filter this table as based on column A values.
In SQl we can write the query as
select B,C,D from Table1 where A="a";
i tried to get this by new table option in power bi desktop modeling tab.
i have tried the below query
Table = CALCULATETABLE(VALUES(Table1[C]) ,FILTER(Table1,Table1[B]="d"))
By this query i am getting the single column from Table1 table.
But i need to get B,C,D column values also.
How can i get this done.
Any suggestions,
Mohanv V
Solved! Go to Solution.
Gota Solution on my own.
Q1 = CALCULATETABLE(SUMMARIZE('Table','Table'[B],'Table'[C],'Table'[D]),FILTER('Table','Table'[A]="a"))
Gota Solution on my own.
Q1 = CALCULATETABLE(SUMMARIZE('Table','Table'[B],'Table'[C],'Table'[D]),FILTER('Table','Table'[A]="a"))
User | Count |
---|---|
70 | |
70 | |
34 | |
23 | |
22 |
User | Count |
---|---|
96 | |
94 | |
50 | |
42 | |
40 |