The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have a scenario as part of which I want to create a pivot in Power BI based on Categories-A,B,C and D.
The calculation of A,B,C and D is as follows:
1)Total Stock which is a measure: Stock Value = 'Table'[Stock_Qty] * 'Table'[Net Price]
2) Calculate Cumulative stock value based on ranking(my problem lies here)
2) Stock% = Cumulative stock Value/ Total Stock(should be based on filters applied)
Can you provide some sample data and the visual format you are using?
From your description, the issue seems to be solvable by SUMMARIZE() / CALCULAETABLE() / etc
User | Count |
---|---|
78 | |
74 | |
42 | |
32 | |
28 |
User | Count |
---|---|
104 | |
93 | |
52 | |
50 | |
46 |