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.
How can I display the below table in a pbix?
Parent | Client | Value | Sum Of The Parent |
1 | 1 | 5 | 68 |
1 | 2 | 51 | 68 |
1 | 3 | 12 | 68 |
2 | 4 | 1 | 3 |
2 | 5 | 1 | 3 |
2 | 6 | 1 | 3 |
I have the data for Parent,Client and Value... but I am trying to display the same for the same parent on all rows...
Hi @Anonymous
Can you please try
Measure = CALCULATE(
SUM('Table'[Value]),
ALLEXCEPT('Table','Table'[Parent]))
Proud to be a Super User! | |
@Anonymous , If you need sum of parent
You can get a new measure
= calculate(sum(Table[Value]), filter(allselected(Table), Table[Parent] = max(Table[Parent]) ) )