Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hola,
Quería consultar como crear una tabla en la que se muestre el número de filas que contienen todas las tablas del reporte.
La idea de esta nueva tabla es agregarla al reporte en forma de visualización.
Un ejemplo de la nueva tabla a crear sería:
NombreTabla | Filas |
Tabla A | 65 |
Tabla B | 30 |
Tabla C | 18 |
Muchas gracias!
Solved! Go to Solution.
Table =
{
( "Table A", COUNTROWS('Table A') ),
( "Table B", COUNTROWS('Table B') ),
( "Table C", COUNTROWS('Table C') )
}
Tal vez algunas herramientas de 3 ª parte hacen el truco; o recurrir a Power Query,
let
Source =
let
tabs = List.Select(Record.FieldNames(#shared), each Text.Contains(_, "Table ")),
rs = List.Transform(tabs, each Table.RowCount(Expression.Evaluate("#""" & _ & """", #shared)))
in
Table.FromColumns({tabs, rs}, {"Table Name", "Rows"})
in
Source
Tal vez algunas herramientas de 3 ª parte hacen el truco; o recurrir a Power Query,
let
Source =
let
tabs = List.Select(Record.FieldNames(#shared), each Text.Contains(_, "Table ")),
rs = List.Transform(tabs, each Table.RowCount(Expression.Evaluate("#""" & _ & """", #shared)))
in
Table.FromColumns({tabs, rs}, {"Table Name", "Rows"})
in
Source
Table =
{
( "Table A", COUNTROWS('Table A') ),
( "Table B", COUNTROWS('Table B') ),
( "Table C", COUNTROWS('Table C') )
}
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |