Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi comunity,
How do I rewrite the following formula created on Data view in power query ?
Solved! Go to Solution.
Hi, Please use the below code in custom column:
Nº de CM por RO =
let
consultaDeMercado = [Consulta de mercado],
estadosUniques = Table.SelectRows(Estados_Uniques, each [Consulta de mercado] = consultaDeMercado),
count = Table.RowCount(estadosUniques)
in
count
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Hi, Please use the below code in custom column:
Nº de CM por RO =
let
consultaDeMercado = [Consulta de mercado],
estadosUniques = Table.SelectRows(Estados_Uniques, each [Consulta de mercado] = consultaDeMercado),
count = Table.RowCount(estadosUniques)
in
count
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
@Domingos I don't know its helps you or not but you can Try group by in power query.THANK YOU!!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |