Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Prezados, tudo bem?
Então estou iniciando no mundo do PBI.
Tenho o seguinte desafio ao qual não consegui superar.
é criar uma formatação condicional de valores duplicados nas céculas como no excel.
Nomesidade
Benício | 20 |
Aristóteles | 20 |
Alexandro | 20 |
Aristóteles | 20 |
Alexandro | 20 |
Merlin | 20 |
Fontana | 20 |
Frota | 20 |
Lobato | 20 |
Damon | 20 |
Damon |
Solved! Go to Solution.
Hi AlexJunio,
You could create a index column like below
let Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WSlTSUTI0UIrVgTCNIMwyINMYwkxBiBYDmSYQZipCFMaMBQA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type text) meta [Serialized.Text = true]) in type table [name = _t, amount = _t]), #"Changed Type" = Table.TransformColumnTypes(Source,{{"name", type text}, {"amount", Int64.Type}}), #"Added Index" = Table.AddIndexColumn(#"Changed Type", "Index", 1, 1), #"Grouped Rows" = Table.Group(#"Added Index", {"name"}, {{"all", each _, type table [name=text, amount=number, Index=number]}}), #"Added Custom" = Table.AddColumn(#"Grouped Rows", "Custom", each Table.AddIndexColumn([all], "new index",1,1)), #"Expanded Custom" = Table.ExpandTableColumn(#"Added Custom", "Custom", {"amount", "new index"}, {"Custom.amount", "Custom.new index"}), #"Removed Columns" = Table.RemoveColumns(#"Expanded Custom",{"all"}) in #"Removed Columns"
Then create measure like below
Measure = IF(MIN('Table'[Custom.new index])<>1, 1,0)
Use this measure in conditional format like below
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi AlexJunio,
You could create a index column like below
let Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WSlTSUTI0UIrVgTCNIMwyINMYwkxBiBYDmSYQZipCFMaMBQA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type text) meta [Serialized.Text = true]) in type table [name = _t, amount = _t]), #"Changed Type" = Table.TransformColumnTypes(Source,{{"name", type text}, {"amount", Int64.Type}}), #"Added Index" = Table.AddIndexColumn(#"Changed Type", "Index", 1, 1), #"Grouped Rows" = Table.Group(#"Added Index", {"name"}, {{"all", each _, type table [name=text, amount=number, Index=number]}}), #"Added Custom" = Table.AddColumn(#"Grouped Rows", "Custom", each Table.AddIndexColumn([all], "new index",1,1)), #"Expanded Custom" = Table.ExpandTableColumn(#"Added Custom", "Custom", {"amount", "new index"}, {"Custom.amount", "Custom.new index"}), #"Removed Columns" = Table.RemoveColumns(#"Expanded Custom",{"all"}) in #"Removed Columns"
Then create measure like below
Measure = IF(MIN('Table'[Custom.new index])<>1, 1,0)
Use this measure in conditional format like below
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
99 | |
68 | |
44 | |
37 | |
29 |
User | Count |
---|---|
156 | |
92 | |
62 | |
44 | |
41 |