I have a table like:
| domain | type | value |
|-------------|-----------|-------|
| example.org | measure-1 | True |
| example.org | measure-2 | False |
| example.net | measure-1 | False |
I would like to make a pivot of this into a new read-only table, as:
| domain | measure-1 | measure-2 |
|-------------|-----------|-----------|
| example.org | True | False |
| example.net | False | None |
How can I achieve this? I’m stuck on both how to create the columns automatically, and then how to lookup the data.