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.
I have two tables and I need a dax formula to get the percentage. I started with this, but it isn't working:
Percentage_Riders = VAR Riders_TODD = CALCULATE(SUM(tblFixed Category[Riders]), tblFixed Category[Category] = "TODD") VAR Riders_TODDS = CALCULATE(SUM(tblFixed Category[Riders]), tblFixed Category[Category] = "TODDS") RETURN DIVIDE(Riders_TODD, Riders_TODDS)
Post some sample data and show what the desired result is.
You should state whether you are creating a measure or a calculated column
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
25 | |
13 | |
12 | |
8 | |
8 |