The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
The column is MVT_Source in a table called movement and it is like below, what i need is to ADD Column or measure that counts how many GT rows and another measure for how many Rite rows. Finally a measure that will give me the % of dividing number of GT rows by the total number of rows.
MVT_Source |
GT |
GT |
GT |
Rite |
Rite |
GT |
Rite |
Rite |
GT |
Solved! Go to Solution.
Hi @Anonymous
try measures
GT rows = CALCULATE(COUNTROWS('TableMovement'), 'TableMovement'[MVT_Source] = "GT" )
Rite rows = CALCULATE(COUNTROWS('TableMovement'), 'TableMovement'[MVT_Source] = "Rite" )
and then
GT rows % = DIVIDE([GT rows], CALCULATE(COUNTROWS('TableMovement')) )
Hi @Anonymous
try measures
GT rows = CALCULATE(COUNTROWS('TableMovement'), 'TableMovement'[MVT_Source] = "GT" )
Rite rows = CALCULATE(COUNTROWS('TableMovement'), 'TableMovement'[MVT_Source] = "Rite" )
and then
GT rows % = DIVIDE([GT rows], CALCULATE(COUNTROWS('TableMovement')) )
Great! worked for me appreciate your great help .
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
7 | |
7 |